Class HyperUniquesSerde
java.lang.Object
org.apache.druid.segment.serde.ComplexMetricSerde
org.apache.druid.query.aggregation.hyperloglog.HyperUniquesSerde
- Direct Known Subclasses:
PreComputedHyperUniquesSerde
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis is deprecated because its usage is going to be removed from the code.Methods inherited from class org.apache.druid.segment.serde.ComplexMetricSerde
deserializeColumn, deserializeColumn, fromBytes, getSerializer, getSerializer, getTypeStrategy, inputSizeFn, toBytes
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
HyperUniquesSerde
public HyperUniquesSerde() -
HyperUniquesSerde
-
-
Method Details
-
getTypeName
- Specified by:
getTypeNamein classComplexMetricSerde
-
getExtractor
- Specified by:
getExtractorin classComplexMetricSerde
-
getObjectStrategy
Description copied from class:ComplexMetricSerdeThis is deprecated because its usage is going to be removed from the code.It 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.
- Specified by:
getObjectStrategyin classComplexMetricSerde- Returns:
- an ObjectStrategy as used by GenericIndexed
-