public class NestedCommonFormatColumnPartSerde extends Object implements ColumnPartSerde
ColumnPartSerde shared by all NestedCommonFormatColumn. The logicalType defines the native
Druid type of the column to use for things like ColumnCapabilities and
hasNulls if any null values are present. If isVariantType is set, the column internally is
composed of a mix of types, this is currently only used by VariantColumnAndIndexSupplier.| Modifier and Type | Class and Description |
|---|---|
static class |
NestedCommonFormatColumnPartSerde.SerializerBuilder |
ColumnPartSerde.Deserializer| Modifier and Type | Method and Description |
|---|---|
static NestedCommonFormatColumnPartSerde |
createDeserializer(ColumnType logicalType,
boolean hasNulls,
boolean isVariantType,
ByteOrder byteOrder,
BitmapSerdeFactory bitmapSerdeFactory) |
BitmapSerdeFactory |
getBitmapSerdeFactory() |
ByteOrder |
getByteOrder() |
ColumnPartSerde.Deserializer |
getDeserializer()
Returns a Deserializer to read a column from a segment.
|
ColumnType |
getLogicalType() |
Serializer |
getSerializer() |
boolean |
isHasNulls() |
boolean |
isVariantType() |
static ByteBuffer |
loadInternalFile(SmooshedFileMapper fileMapper,
String fileNameBase,
String internalFileName) |
static NestedCommonFormatColumnPartSerde.SerializerBuilder |
serializerBuilder() |
public static NestedCommonFormatColumnPartSerde.SerializerBuilder serializerBuilder()
public static ByteBuffer loadInternalFile(SmooshedFileMapper fileMapper, String fileNameBase, String internalFileName) throws IOException
IOExceptionpublic static NestedCommonFormatColumnPartSerde createDeserializer(ColumnType logicalType, boolean hasNulls, boolean isVariantType, ByteOrder byteOrder, BitmapSerdeFactory bitmapSerdeFactory)
@Nullable public Serializer getSerializer()
getSerializer in interface ColumnPartSerdepublic ColumnPartSerde.Deserializer getDeserializer()
ColumnPartSerdegetDeserializer in interface ColumnPartSerdepublic ColumnType getLogicalType()
public boolean isHasNulls()
public boolean isVariantType()
public ByteOrder getByteOrder()
public BitmapSerdeFactory getBitmapSerdeFactory()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.