Class DistinctCountULLValueAggregator

  • All Implemented Interfaces:
    ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>

    public class DistinctCountULLValueAggregator
    extends Object
    implements ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>
    • Constructor Detail

      • DistinctCountULLValueAggregator

        public DistinctCountULLValueAggregator​(List<ExpressionContext> arguments)
    • Method Detail

      • getInitialAggregatedValue

        public com.dynatrace.hash4j.distinctcount.UltraLogLog getInitialAggregatedValue​(Object rawValue)
        Description copied from interface: ValueAggregator
        Returns the initial aggregated value.
        Specified by:
        getInitialAggregatedValue in interface ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>
      • applyRawValue

        public com.dynatrace.hash4j.distinctcount.UltraLogLog applyRawValue​(com.dynatrace.hash4j.distinctcount.UltraLogLog value,
                                                                            Object rawValue)
        Description copied from interface: ValueAggregator
        Applies a raw value to the current aggregated value.

        NOTE: if value is mutable, will directly modify the value.

        Specified by:
        applyRawValue in interface ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>
      • applyAggregatedValue

        public com.dynatrace.hash4j.distinctcount.UltraLogLog applyAggregatedValue​(com.dynatrace.hash4j.distinctcount.UltraLogLog value,
                                                                                   com.dynatrace.hash4j.distinctcount.UltraLogLog aggregatedValue)
        Description copied from interface: ValueAggregator
        Applies an aggregated value to the current aggregated value.

        NOTE: if value is mutable, will directly modify the value.

        Specified by:
        applyAggregatedValue in interface ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>
      • cloneAggregatedValue

        public com.dynatrace.hash4j.distinctcount.UltraLogLog cloneAggregatedValue​(com.dynatrace.hash4j.distinctcount.UltraLogLog value)
        Description copied from interface: ValueAggregator
        Clones an aggregated value.
        Specified by:
        cloneAggregatedValue in interface ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>
      • getMaxAggregatedValueByteSize

        public int getMaxAggregatedValueByteSize()
        Description copied from interface: ValueAggregator
        Returns the maximum size in bytes of the aggregated values seen so far.
        Specified by:
        getMaxAggregatedValueByteSize in interface ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>
      • serializeAggregatedValue

        public byte[] serializeAggregatedValue​(com.dynatrace.hash4j.distinctcount.UltraLogLog value)
        Description copied from interface: ValueAggregator
        Serializes an aggregated value into a byte array.
        Specified by:
        serializeAggregatedValue in interface ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>
      • deserializeAggregatedValue

        public com.dynatrace.hash4j.distinctcount.UltraLogLog deserializeAggregatedValue​(byte[] bytes)
        Description copied from interface: ValueAggregator
        De-serializes an aggregated value from a byte array.
        Specified by:
        deserializeAggregatedValue in interface ValueAggregator<Object,​com.dynatrace.hash4j.distinctcount.UltraLogLog>