Package org.apache.druid.segment.column
Class StringEncodingStrategies
- java.lang.Object
-
- org.apache.druid.segment.column.StringEncodingStrategies
-
public class StringEncodingStrategies extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringEncodingStrategies.Utf8ToStringIndexed
-
Constructor Summary
Constructors Constructor Description StringEncodingStrategies()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.base.Supplier<? extends Indexed<ByteBuffer>>
getStringDictionarySupplier(SmooshedFileMapper mapper, ByteBuffer stringDictionaryBuffer, ByteOrder byteOrder)
static DictionaryWriter<String>
getStringDictionaryWriter(StringEncodingStrategy encodingStrategy, SegmentWriteOutMedium writeoutMedium, String fileName)
-
-
-
Method Detail
-
getStringDictionaryWriter
public static DictionaryWriter<String> getStringDictionaryWriter(StringEncodingStrategy encodingStrategy, SegmentWriteOutMedium writeoutMedium, String fileName)
-
getStringDictionarySupplier
public static com.google.common.base.Supplier<? extends Indexed<ByteBuffer>> getStringDictionarySupplier(SmooshedFileMapper mapper, ByteBuffer stringDictionaryBuffer, ByteOrder byteOrder)
-
-