Class InlineIndexFactory
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndexFactory
-
- All Implemented Interfaces:
IndexFactory
- Direct Known Subclasses:
DefragIndexFactory
public class InlineIndexFactory extends Object implements IndexFactory
Factory to createInlineIndex.
-
-
Field Summary
Fields Modifier and Type Field Description static InlineIndexFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description InlineIndexFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexcreateIndex(GridCacheContext<?,?> cctx, IndexDefinition def)Creates index by specified definition for specified cache.protected InlineIndexTreecreateIndexSegment(GridCacheContext<?,?> cctx, SortedIndexDefinition def, RootPage rootPage, IoStatisticsHolder stats, InlineRecommender recommender, int segmentNum)protected RootPagerootPage(GridCacheContext<?,?> ctx, String treeName, int segment)
-
-
-
Field Detail
-
INSTANCE
public static final InlineIndexFactory INSTANCE
-
-
Method Detail
-
createIndex
public Index createIndex(GridCacheContext<?,?> cctx, IndexDefinition def)
Creates index by specified definition for specified cache.- Specified by:
createIndexin interfaceIndexFactory- Parameters:
cctx- Cache context.def- Index definition.
-
createIndexSegment
protected InlineIndexTree createIndexSegment(GridCacheContext<?,?> cctx, SortedIndexDefinition def, RootPage rootPage, IoStatisticsHolder stats, InlineRecommender recommender, int segmentNum) throws Exception
- Throws:
Exception
-
rootPage
protected RootPage rootPage(GridCacheContext<?,?> ctx, String treeName, int segment) throws Exception
- Throws:
Exception
-
-