Class DefragIndexFactory
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndexFactory
-
- org.apache.ignite.internal.cache.query.index.sorted.defragmentation.DefragIndexFactory
-
- All Implemented Interfaces:
IndexFactory
public class DefragIndexFactory extends InlineIndexFactory
Creates temporary index to defragment old index.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefragIndexFactory.DefragIndexRowImplIndexRowImpl with index values stored in a byte array.
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndexFactory
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description DefragIndexFactory(IgniteCacheOffheapManager offheap, PageMemory newCachePageMemory, InlineIndex oldIdx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InlineIndexTreecreateIndexSegment(GridCacheContext<?,?> cctx, SortedIndexDefinition def, RootPage rootPage, IoStatisticsHolder stats, InlineRecommender recommender, int segmentNum)protected RootPagerootPage(GridCacheContext<?,?> ctx, String treeName, int segment)-
Methods inherited from class org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndexFactory
createIndex
-
-
-
-
Constructor Detail
-
DefragIndexFactory
public DefragIndexFactory(IgniteCacheOffheapManager offheap, PageMemory newCachePageMemory, InlineIndex oldIdx)
-
-
Method Detail
-
createIndexSegment
protected InlineIndexTree createIndexSegment(GridCacheContext<?,?> cctx, SortedIndexDefinition def, RootPage rootPage, IoStatisticsHolder stats, InlineRecommender recommender, int segmentNum) throws Exception
- Overrides:
createIndexSegmentin classInlineIndexFactory- Throws:
Exception
-
rootPage
protected RootPage rootPage(GridCacheContext<?,?> ctx, String treeName, int segment) throws Exception
- Overrides:
rootPagein classInlineIndexFactory- Throws:
Exception
-
-