Class HyperUniquesSerde

java.lang.Object
org.apache.druid.segment.serde.ComplexMetricSerde
org.apache.druid.query.aggregation.hyperloglog.HyperUniquesSerde
Direct Known Subclasses:
PreComputedHyperUniquesSerde

public class HyperUniquesSerde extends ComplexMetricSerde
  • Field Details

  • Constructor Details

    • HyperUniquesSerde

      public HyperUniquesSerde()
    • HyperUniquesSerde

      public HyperUniquesSerde(HyperLogLogHash hyperLogLogHash)
  • Method Details

    • getTypeName

      public String getTypeName()
      Specified by:
      getTypeName in class ComplexMetricSerde
    • getExtractor

      Specified by:
      getExtractor in class ComplexMetricSerde
    • getObjectStrategy

      public ObjectStrategy getObjectStrategy()
      Description copied from class: ComplexMetricSerde
      This 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:
      getObjectStrategy in class ComplexMetricSerde
      Returns:
      an ObjectStrategy as used by GenericIndexed