Class ReservoirLongsUnionAggregator
- java.lang.Object
-
- uk.gov.gchq.koryphe.binaryoperator.KorypheBinaryOperator<org.apache.datasketches.sampling.ReservoirLongsUnion>
-
- uk.gov.gchq.gaffer.sketches.datasketches.sampling.binaryoperator.ReservoirLongsUnionAggregator
-
- All Implemented Interfaces:
BiFunction<org.apache.datasketches.sampling.ReservoirLongsUnion,org.apache.datasketches.sampling.ReservoirLongsUnion,org.apache.datasketches.sampling.ReservoirLongsUnion>
,BinaryOperator<org.apache.datasketches.sampling.ReservoirLongsUnion>
public class ReservoirLongsUnionAggregator extends uk.gov.gchq.koryphe.binaryoperator.KorypheBinaryOperator<org.apache.datasketches.sampling.ReservoirLongsUnion>
AReservoirLongsUnionAggregator
is aBinaryOperator
that aggregatesReservoirLongsUnion
s. It does this by extracting aReservoirLongsSketch
from eachReservoirLongsUnion
and merges that usingReservoirLongsUnion.update(org.apache.datasketches.sampling.ReservoirLongsSketch)
.
-
-
Constructor Summary
Constructors Constructor Description ReservoirLongsUnionAggregator()
-