Package org.apache.druid.segment.serde
Class NullColumnPartSerde
java.lang.Object
org.apache.druid.segment.serde.NullColumnPartSerde
- All Implemented Interfaces:
ColumnPartSerde
A ColumnPartSerde to read and write null-only columns.
Its serializer is no-op as nothing is stored for null-only columns.
Its deserializer creates necessary column metadata and indexes when the column is read.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.druid.segment.serde.ColumnPartSerde
ColumnPartSerde.Deserializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Returns a Deserializer to read a column from a segment.intinthashCode()
-
Constructor Details
-
NullColumnPartSerde
-
-
Method Details
-
getNumRows
public int getNumRows() -
getBitmapSerdeFactory
Deprecated.This is no longer used for anything, but is required for backwards compatibility, so that segments with explicit null columns can be read with 0.23 -
getSerializer
- Specified by:
getSerializerin interfaceColumnPartSerde
-
getDeserializer
Description copied from interface:ColumnPartSerdeReturns a Deserializer to read a column from a segment.- Specified by:
getDeserializerin interfaceColumnPartSerde
-
equals
-
hashCode
public int hashCode()
-