Package org.apache.druid.segment.nested
Class ValueDictionary
java.lang.Object
org.apache.druid.segment.nested.ValueDictionary
Used by
AutoTypeColumnIndexer to build the value dictionary, which can be converted into a
SortedValueDictionary to sort and write out the values to a segment with getSortedCollector().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddDoubleArray(Object[] value) intaddDoubleValue(Double value) intaddLongArray(Object[] value) intaddLongValue(Long value) intaddStringArray(Object[] value) intaddStringValue(String value) intlong
-
Constructor Details
-
ValueDictionary
public ValueDictionary()
-
-
Method Details
-
addLongValue
-
addDoubleValue
-
addStringValue
-
addStringArray
-
addLongArray
-
addDoubleArray
-
getSortedCollector
-
sizeInBytes
public long sizeInBytes() -
getCardinality
public int getCardinality()
-