Package org.apache.druid.segment.nested
Class SortedValueDictionary
- java.lang.Object
-
- org.apache.druid.segment.nested.SortedValueDictionary
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class SortedValueDictionary extends Object implements Closeable
Container to collect a set of sortedIndexedrepresenting the global value dictionaries of someNestedDataComplexColumn, to later use withDictionaryMergingIteratorto merge into a new global dictionary
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallNull()voidclose()intgetArrayCardinality()intgetDoubleCardinality()intgetLongCardinality()Indexed<Object[]>getSortedArrays()Indexed<Double>getSortedDoubles()Indexed<Long>getSortedLongs()Indexed<String>getSortedStrings()intgetStringCardinality()
-
-
-
Method Detail
-
getStringCardinality
public int getStringCardinality()
-
getLongCardinality
public int getLongCardinality()
-
getDoubleCardinality
public int getDoubleCardinality()
-
getArrayCardinality
public int getArrayCardinality()
-
allNull
public boolean allNull()
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-