Class StringsSketchAggregator
- java.lang.Object
-
- uk.gov.gchq.koryphe.binaryoperator.KorypheBinaryOperator<org.apache.datasketches.frequencies.ItemsSketch<String>>
-
- uk.gov.gchq.gaffer.sketches.datasketches.frequencies.binaryoperator.StringsSketchAggregator
-
- All Implemented Interfaces:
BiFunction<org.apache.datasketches.frequencies.ItemsSketch<String>,org.apache.datasketches.frequencies.ItemsSketch<String>,org.apache.datasketches.frequencies.ItemsSketch<String>>,BinaryOperator<org.apache.datasketches.frequencies.ItemsSketch<String>>
public class StringsSketchAggregator extends uk.gov.gchq.koryphe.binaryoperator.KorypheBinaryOperator<org.apache.datasketches.frequencies.ItemsSketch<String>>
AStringsSketchAggregatoris aBinaryOperatorthat takes inItemsSketchs ofStrings and merges them together usingItemsSketch.merge(ItemsSketch).NB: We cannot provide a generic aggregator for any type T as we need to clone the first sketch that is supplied to the
_aggregatemethod and that requires serialising and deserialising which requires a specific serialiser.
-
-
Constructor Summary
Constructors Constructor Description StringsSketchAggregator()
-