Uses of Interface
org.apache.druid.segment.serde.Serializer
Packages that use Serializer
Package
Description
-
Uses of Serializer in org.apache.druid.query.aggregation
Classes in org.apache.druid.query.aggregation that implement SerializerModifier and TypeClassDescriptionstatic classcontains serialized data that is compressed and delta-encoded (Long) It's ready to be transferred to aWritableByteChannelclassvalid call sequenceclassclassclassclassvalid call sequence -
Uses of Serializer in org.apache.druid.segment
Subinterfaces of Serializer in org.apache.druid.segmentModifier and TypeInterfaceDescriptioninterfaceGenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization.Classes in org.apache.druid.segment that implement SerializerModifier and TypeClassDescriptionprotected static classclassclassColumn Serializer for double column.classclassColumn Serializer for float column.classUnsafe for concurrent use from multiple threads.classColumn Serializer for long column.Constructors in org.apache.druid.segment with parameters of type SerializerModifierConstructorDescriptionprotectedPersistedIdConversion(File idConversionDir, Serializer idConversionSerializer) -
Uses of Serializer in org.apache.druid.segment.column
Subinterfaces of Serializer in org.apache.druid.segment.columnModifier and TypeInterfaceDescriptionstatic interfaceInterface to serialize bitmap index.Classes in org.apache.druid.segment.column that implement Serializer -
Uses of Serializer in org.apache.druid.segment.data
Subinterfaces of Serializer in org.apache.druid.segment.dataModifier and TypeInterfaceDescriptioninterfaceSerializer that producesColumnarDoubles.interfaceSerializer that producesColumnarFloats.interfaceSerializer that produces eitherColumnarIntsorColumnarMultiInts.interfaceSerializer that producesColumnarLongs.interfaceinterfaceClasses in org.apache.druid.segment.data that implement SerializerModifier and TypeClassDescriptionclassSerializer that producesBlockLayoutColumnarDoublesSupplier.BlockLayoutColumnarDoubles.classSerializer that producesBlockLayoutColumnarFloatsSupplier.BlockLayoutColumnarFloats.classSerializer that producesBlockLayoutColumnarLongsSupplier.BlockLayoutColumnarLongs.classclassSerializer that producesColumnarMultiInts.classclassclassStreams array of integers out in the binary format described byCompressedColumnarIntsSupplierclassclassclassclassclassStreams array of integers out in the binary format described byCompressedVSizeColumnarIntsSupplierclassclassFormat - byte 1 - version offsets -ColumnarIntsof length num of rows + 1 representing offsets of starting index of first element of each row in values index and last element equal to length of values column, the last element in the offsets represents the total length of values column.classclassSerializer that producesEntireLayoutColumnarDoublesSupplier.EntireLayoutColumnarDoubles.classSerializer that producesEntireLayoutColumnarFloatsSupplier.EntireLayoutColumnarFloats.classSerializer that producesEntireLayoutColumnarLongsSupplier.EntireLayoutColumnarLongs.final classSpecialized version ofFixedIndexedWriterfor writing ints, with no support for null values, and no verification that data is actually sorted, it just trusts you and takes your word for itclassWriter for aFixedIndexedclassclassclassA generic, flat storage mechanism.classStreams arrays of objects out in the binary format described byGenericIndexedThe versionEncodedStringDictionaryWriter.VERSIONis reserved and must never be specified as theGenericIndexedversion byte, else it will interfere with string column deserialization.classSerializer that chooses optimalColumnarLongsformat dymamically, based on the values being written.classSerializer that producesColumnarInts.classStreams array of integers out in the binary format described byV3CompressedVSizeColumnarMultiIntsSupplierclassThe format is mostly the same withCompressedVSizeColumnarMultiIntsSupplier(which has version 0x2, so we call it V2), the only difference is V3's offsets is not VSize encoded, it's just compressed.classclassStreams integers out in the binary format described byVSizeColumnarIntsclassclassStreams arrays of objects out in the binary format described byVSizeColumnarMultiInts. -
Uses of Serializer in org.apache.druid.segment.nested
Classes in org.apache.druid.segment.nested that implement SerializerModifier and TypeClassDescriptionstatic classclassBasic serializer implementation for theNestedCommonFormatColumnfamily of columns.classSerializer forNestedCommonFormatColumnwhich can store nested data.classSerializer for aScalarDoubleColumnclassSerializer for aScalarLongColumnclassclassSerializer for a stringNestedCommonFormatColumnthat can be read withStringUtf8DictionaryEncodedColumn.classSerializer for aNestedCommonFormatColumnfor single type arrays and mixed type columns, but not columns with nested data.static classInternal serializer used to serialize aVariantColumn.Methods in org.apache.druid.segment.nested with parameters of type SerializerModifier and TypeMethodDescriptionprotected voidNestedCommonFormatColumnSerializer.writeInternal(SegmentFileBuilder fileBuilder, Serializer serializer, String fileName) -
Uses of Serializer in org.apache.druid.segment.serde
Classes in org.apache.druid.segment.serde that implement SerializerModifier and TypeClassDescriptionclassclassclassMethods in org.apache.druid.segment.serde that return SerializerModifier and TypeMethodDescriptionColumnPartSerde.getSerializer()ComplexColumnPartSerde.getSerializer()DictionaryEncodedColumnPartSerde.getSerializer()DoubleNumericColumnPartSerde.getSerializer()DoubleNumericColumnPartSerdeV2.getSerializer()FloatNumericColumnPartSerde.getSerializer()FloatNumericColumnPartSerdeV2.getSerializer()LongNumericColumnPartSerde.getSerializer()LongNumericColumnPartSerdeV2.getSerializer()NestedCommonFormatColumnPartSerde.getSerializer()NullColumnPartSerde.getSerializer()Methods in org.apache.druid.segment.serde with parameters of type SerializerModifier and TypeMethodDescriptionstatic SmooshedFileMapperColumnSerializerUtils.mapSerializer(File smooshFile, Serializer writer, String name) Writes aSerializerto a 'smoosh file' which contains the contents of this single serializer, with the serializer writing to an internal file specified by the name argument, returning aSmooshedFileMapperComplexColumnPartSerde.SerializerBuilder.withDelegate(Serializer delegate) DoubleNumericColumnPartSerde.SerializerBuilder.withDelegate(Serializer delegate) DoubleNumericColumnPartSerdeV2.SerializerBuilder.withDelegate(Serializer delegate) FloatNumericColumnPartSerde.SerializerBuilder.withDelegate(Serializer delegate) FloatNumericColumnPartSerdeV2.SerializerBuilder.withDelegate(Serializer delegate) LongNumericColumnPartSerde.SerializerBuilder.withDelegate(Serializer delegate) LongNumericColumnPartSerdeV2.SerializerBuilder.withDelegate(Serializer delegate) NestedCommonFormatColumnPartSerde.SerializerBuilder.withSerializer(Serializer serializer) static voidColumnSerializerUtils.writeInternal(SegmentFileBuilder fileBuilder, Serializer serializer, String columnName, String fileName) Constructors in org.apache.druid.segment.serde with parameters of type SerializerModifierConstructorDescriptionDoubleNumericColumnPartSerdeV2(ByteOrder byteOrder, BitmapSerdeFactory bitmapSerdeFactory, Serializer serializer) -
Uses of Serializer in org.apache.druid.segment.serde.cell
Classes in org.apache.druid.segment.serde.cell that implement SerializerModifier and TypeClassDescriptionclassclassclassclassusage: