Package org.apache.druid.segment
Class StringDimensionDictionary
java.lang.Object
org.apache.druid.segment.DimensionDictionary<String>
org.apache.druid.segment.StringDimensionDictionary
DimensionDictionary for String dimension values.
-
Field Summary
Fields inherited from class org.apache.druid.segment.DimensionDictionary
ABSENT_VALUE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongestimateSizeOfValue(String value) Estimates the size of the dimension value in bytes.Methods inherited from class org.apache.druid.segment.DimensionDictionary
add, getId, getIdForNull, getMaxValue, getMinValue, getValue, getValues, size, sizeInBytes, sort
-
Constructor Details
-
StringDimensionDictionary
public StringDimensionDictionary()Creates a StringDimensionDictionary.
-
-
Method Details
-
estimateSizeOfValue
Description copied from class:DimensionDictionaryEstimates the size of the dimension value in bytes.- Specified by:
estimateSizeOfValuein classDimensionDictionary<String>
-