Package org.apache.druid.segment
Interface GenericColumnSerializer<T>
-
- All Superinterfaces:
Serializer
- All Known Implementing Classes:
ComplexColumnSerializer
,DoubleColumnSerializer
,DoubleColumnSerializerV2
,FloatColumnSerializer
,FloatColumnSerializerV2
,LargeColumnSupportedComplexColumnSerializer
,LongColumnSerializer
,LongColumnSerializerV2
,NestedCommonFormatColumnSerializer
,NestedDataColumnSerializer
,NestedDataColumnSerializerV4
,ScalarDoubleColumnSerializer
,ScalarLongColumnSerializer
,ScalarNestedCommonFormatColumnSerializer
,ScalarStringColumnSerializer
,SerializablePairLongStringColumnSerializer
,VariantColumnSerializer
public interface GenericColumnSerializer<T> extends Serializer
GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization. That implementation would be returned by overridingComplexMetricSerde.getSerializer(org.apache.druid.segment.writeout.SegmentWriteOutMedium, java.lang.String)
TODO rename to "ColumnSerializer" prior to Druid 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
open()
void
serialize(ColumnValueSelector<? extends T> selector)
-
Methods inherited from interface org.apache.druid.segment.serde.Serializer
getSerializedSize, writeTo
-
-
-
-
Method Detail
-
open
void open() throws IOException
- Throws:
IOException
-
serialize
void serialize(ColumnValueSelector<? extends T> selector) throws IOException
- Throws:
IOException
-
-