Class OnHeapBitmapInvertedIndexCreator
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.creator.impl.inv.OnHeapBitmapInvertedIndexCreator
-
- All Implemented Interfaces:
Closeable,AutoCloseable,DictionaryBasedInvertedIndexCreator,InvertedIndexCreator
public final class OnHeapBitmapInvertedIndexCreator extends Object implements DictionaryBasedInvertedIndexCreator
Implementation ofDictionaryBasedInvertedIndexCreatorthat uses on-heap memory.
-
-
Method Detail
-
add
public void add(int dictId)
- Specified by:
addin interfaceDictionaryBasedInvertedIndexCreator
-
add
public void add(int[] dictIds, int length)- Specified by:
addin interfaceDictionaryBasedInvertedIndexCreator
-
seal
public void seal() throws IOException- Specified by:
sealin interfaceInvertedIndexCreator- Throws:
IOException
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-