Search in sources :

Example 6 with IndexName

use of org.apache.ignite.internal.cache.query.index.IndexName in project ignite by apache.

the class IgniteSqlQueryDecimalArgumentsWithTest method idxInlineSize.

/**
 */
private int idxInlineSize() {
    GridCacheContext<?, ?> cctx = node.cachex(TABLE_CACHE_NAME).context();
    InlineIndex idx = (InlineIndex) node.context().indexProcessor().index(new IndexName(cctx.name(), "PUBLIC", TABLE_NAME, IDX_NAME));
    return idx.inlineSize();
}
Also used : IndexName(org.apache.ignite.internal.cache.query.index.IndexName) InlineIndex(org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndex)

Aggregations

IndexName (org.apache.ignite.internal.cache.query.index.IndexName)6 IndexDefinition (org.apache.ignite.internal.cache.query.index.IndexDefinition)2 IndexKeyDefinition (org.apache.ignite.internal.cache.query.index.sorted.IndexKeyDefinition)2 InlineIndex (org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndex)2 AtomicLong (java.util.concurrent.atomic.AtomicLong)1 IgniteException (org.apache.ignite.IgniteException)1 Index (org.apache.ignite.internal.cache.query.index.Index)1 DurableBackgroundCleanupIndexTreeTask (org.apache.ignite.internal.cache.query.index.sorted.DurableBackgroundCleanupIndexTreeTask)1 DurableBackgroundCleanupIndexTreeTaskV2 (org.apache.ignite.internal.cache.query.index.sorted.DurableBackgroundCleanupIndexTreeTaskV2)1 InlineIndexImpl (org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndexImpl)1 InlineIndexKeyType (org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndexKeyType)1 GatewayProtectedCacheProxy (org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy)1 GridCacheContext (org.apache.ignite.internal.processors.cache.GridCacheContext)1 GridCacheContextInfo (org.apache.ignite.internal.processors.cache.GridCacheContextInfo)1 DurableBackgroundTask (org.apache.ignite.internal.processors.cache.persistence.metastorage.pendingtask.DurableBackgroundTask)1 H2TreeClientIndex (org.apache.ignite.internal.processors.query.h2.database.H2TreeClientIndex)1 H2TreeIndex (org.apache.ignite.internal.processors.query.h2.database.H2TreeIndex)1 QueryIndexDefinition (org.apache.ignite.internal.processors.query.h2.index.QueryIndexDefinition)1 QueryIndexKeyDefinitionProvider (org.apache.ignite.internal.processors.query.h2.index.QueryIndexKeyDefinitionProvider)1 QueryIndexRowHandler (org.apache.ignite.internal.processors.query.h2.index.QueryIndexRowHandler)1