Search in sources :

Example 6 with InlineIndex

use of org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndex 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

InlineIndex (org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndex)6 ArrayList (java.util.ArrayList)2 IndexName (org.apache.ignite.internal.cache.query.index.IndexName)2 InlineIndexImpl (org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndexImpl)2 HashMap (java.util.HashMap)1 IgniteLogger (org.apache.ignite.IgniteLogger)1 FailureContext (org.apache.ignite.failure.FailureContext)1 IndexRow (org.apache.ignite.internal.cache.query.index.sorted.IndexRow)1 InlineIndexRowHandler (org.apache.ignite.internal.cache.query.index.sorted.InlineIndexRowHandler)1 SortedIndexDefinition (org.apache.ignite.internal.cache.query.index.sorted.SortedIndexDefinition)1 DefragIndexRowImpl (org.apache.ignite.internal.cache.query.index.sorted.defragmentation.DefragIndexFactory.DefragIndexRowImpl)1 IgnitePageStoreManager (org.apache.ignite.internal.pagemem.store.IgnitePageStoreManager)1 GridCacheContextInfo (org.apache.ignite.internal.processors.cache.GridCacheContextInfo)1 CacheDataRow (org.apache.ignite.internal.processors.cache.persistence.CacheDataRow)1 LinkMap (org.apache.ignite.internal.processors.cache.persistence.defragmentation.LinkMap)1 TreeIterator (org.apache.ignite.internal.processors.cache.persistence.defragmentation.TreeIterator)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 ClientIndexDefinition (org.apache.ignite.internal.processors.query.h2.index.client.ClientIndexDefinition)1