Class DefaultResultAccumulator<T>
- java.lang.Object
-
- uk.gov.gchq.gaffer.federated.simple.merge.FederatedResultAccumulator<T>
-
- uk.gov.gchq.gaffer.federated.simple.merge.DefaultResultAccumulator<T>
-
- All Implemented Interfaces:
BiFunction<T,T,T>
,BinaryOperator<T>
public class DefaultResultAccumulator<T> extends FederatedResultAccumulator<T>
The default result accumulator for merging results from multiple graphs into one.
-
-
Constructor Summary
Constructors Constructor Description DefaultResultAccumulator()
DefaultResultAccumulator(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
apply(T update, T state)
Concatenates the result from a graph with the previous result.-
Methods inherited from class uk.gov.gchq.gaffer.federated.simple.merge.FederatedResultAccumulator
aggregateElements, setAggregateElements, setSchema
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Constructor Detail
-
DefaultResultAccumulator
public DefaultResultAccumulator()
-
DefaultResultAccumulator
public DefaultResultAccumulator(Properties properties)
-
-