Package org.apache.druid.segment.column
Class StringEncodingStrategies
java.lang.Object
org.apache.druid.segment.column.StringEncodingStrategies
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAdapter to convertIndexed<ByteBuffer>with utf8 encoded bytes intoIndexed<String>to be friendly to consumers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.base.Supplier<? extends Indexed<ByteBuffer>>getStringDictionarySupplier(SegmentFileMapper mapper, ByteBuffer stringDictionaryBuffer, ByteOrder byteOrder) static DictionaryWriter<String>getStringDictionaryWriter(StringEncodingStrategy encodingStrategy, SegmentWriteOutMedium writeoutMedium, String fileName)
-
Constructor Details
-
StringEncodingStrategies
public StringEncodingStrategies()
-
-
Method Details
-
getStringDictionaryWriter
public static DictionaryWriter<String> getStringDictionaryWriter(StringEncodingStrategy encodingStrategy, SegmentWriteOutMedium writeoutMedium, String fileName) -
getStringDictionarySupplier
public static com.google.common.base.Supplier<? extends Indexed<ByteBuffer>> getStringDictionarySupplier(SegmentFileMapper mapper, ByteBuffer stringDictionaryBuffer, ByteOrder byteOrder)
-