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 sortedIndexed
representing the global value dictionaries of someNestedDataComplexColumn
, to later use withDictionaryMergingIterator
to merge into a new global dictionary
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allNull()
void
close()
int
getArrayCardinality()
int
getDoubleCardinality()
int
getLongCardinality()
Indexed<Object[]>
getSortedArrays()
Indexed<Double>
getSortedDoubles()
Indexed<Long>
getSortedLongs()
Indexed<String>
getSortedStrings()
int
getStringCardinality()
-
-
-
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-