Search in sources :

Example 11 with QueryTypeDescriptorImpl

use of org.apache.ignite.internal.processors.query.QueryTypeDescriptorImpl in project ignite by apache.

the class AbstractSchemaSelfTest method typeExisting.

/**
 * Get type on the given node for the given cache and table name. Type must exist.
 *
 * @param node Node.
 * @param cacheName Cache name.
 * @param tblName Table name.
 * @return Type.
 */
static QueryTypeDescriptorImpl typeExisting(IgniteEx node, String cacheName, String tblName) {
    QueryTypeDescriptorImpl res = type(node, cacheName, tblName);
    assertNotNull(res);
    return res;
}
Also used : QueryTypeDescriptorImpl(org.apache.ignite.internal.processors.query.QueryTypeDescriptorImpl)

Aggregations

QueryTypeDescriptorImpl (org.apache.ignite.internal.processors.query.QueryTypeDescriptorImpl)11 IgniteEx (org.apache.ignite.internal.IgniteEx)7 IgniteH2Indexing (org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing)3 GridH2Table (org.apache.ignite.internal.processors.query.h2.opt.GridH2Table)3 Test (org.junit.Test)3 ArrayList (java.util.ArrayList)2 HashMap (java.util.HashMap)2 IgniteCheckedException (org.apache.ignite.IgniteCheckedException)2 IgniteException (org.apache.ignite.IgniteException)2 DynamicCacheDescriptor (org.apache.ignite.internal.processors.cache.DynamicCacheDescriptor)2 KeyCacheObject (org.apache.ignite.internal.processors.cache.KeyCacheObject)2 Connection (java.sql.Connection)1 ResultSet (java.sql.ResultSet)1 SQLException (java.sql.SQLException)1 Collection (java.util.Collection)1 Collections (java.util.Collections)1 Collections.emptyMap (java.util.Collections.emptyMap)1 Collections.newSetFromMap (java.util.Collections.newSetFromMap)1 Collections.shuffle (java.util.Collections.shuffle)1 HashSet (java.util.HashSet)1