Package org.apache.druid.segment
Interface DictionaryEncodedColumnMerger.ExtendedIndexesMerger
-
- All Known Implementing Classes:
StringDimensionMergerV9.SpatialIndexesMerger
- Enclosing class:
- DictionaryEncodedColumnMerger<T extends Comparable<T>>
protected static interface DictionaryEncodedColumnMerger.ExtendedIndexesMergerSpecifies any additional per value indexes which should be constructed whenDictionaryEncodedColumnMerger.writeIndexes(List)is called, on top of the standard bitmap index created withDictionaryEncodedColumnMerger.mergeBitmaps(java.util.List<java.nio.IntBuffer>, org.apache.druid.collections.bitmap.BitmapFactory, org.apache.druid.segment.DictionaryEncodedColumnMerger.IndexSeeker[], int)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinitialize()voidmergeIndexes(int dictId, MutableBitmap mergedIndexes)Merge extended indexes for the given dictionaryId value.voidwrite()
-
-
-
Method Detail
-
initialize
void initialize() throws IOException- Throws:
IOException
-
mergeIndexes
void mergeIndexes(int dictId, MutableBitmap mergedIndexes) throws IOExceptionMerge extended indexes for the given dictionaryId value. The merged bitmap index fromDictionaryEncodedColumnMerger.mergeBitmaps(java.util.List<java.nio.IntBuffer>, org.apache.druid.collections.bitmap.BitmapFactory, org.apache.druid.segment.DictionaryEncodedColumnMerger.IndexSeeker[], int)is supplied should it be useful for the construction of the extended indexes.- Throws:
IOException
-
write
void write() throws IOException- Throws:
IOException
-
-