public class SketchMergeComplexMetricSerde extends ComplexMetricSerde
| Constructor and Description |
|---|
SketchMergeComplexMetricSerde() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeColumn(ByteBuffer buffer,
ColumnBuilder builder)
Deserializes a ByteBuffer and adds it to the ColumnBuilder.
|
ComplexMetricExtractor |
getExtractor() |
ObjectStrategy<com.yahoo.sketches.theta.Sketch> |
getObjectStrategy()
This is deprecated because its usage is going to be removed from the code.
|
GenericColumnSerializer |
getSerializer(IOPeon peon,
String column)
This method provides the ability for a ComplexMetricSerde to control its own serialization.
|
String |
getTypeName() |
fromBytes, inputSizeFn, toBytespublic String getTypeName()
getTypeName in class ComplexMetricSerdepublic ComplexMetricExtractor getExtractor()
getExtractor in class ComplexMetricSerdepublic void deserializeColumn(ByteBuffer buffer, ColumnBuilder builder)
ComplexMetricSerdedeserializeColumn in class ComplexMetricSerdebuffer - the buffer to deserializebuilder - ColumnBuilder to add the column topublic ObjectStrategy<com.yahoo.sketches.theta.Sketch> getObjectStrategy()
ComplexMetricSerdeIt was introduced before deserializeColumn() existed. This method creates the assumption that Druid knows how to interpret the actual column representation of the data, but I would much prefer that the ComplexMetricSerde objects be in charge of creating and interpreting the whole column, which is what deserializeColumn lets them do.
getObjectStrategy in class ComplexMetricSerdepublic GenericColumnSerializer getSerializer(IOPeon peon, String column)
ComplexMetricSerdegetSerializer in class ComplexMetricSerdepeon - IOPeoncolumn - name of the columnCopyright © 2011–2017. All rights reserved.