public static class BulkIterationBase.TerminationCriterionAggregator extends Object implements Aggregator<LongValue>
| Constructor and Description |
|---|
TerminationCriterionAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(long count) |
void |
aggregate(LongValue count)
Aggregates the given element.
|
LongValue |
getAggregate()
Gets the aggregator's current aggregate.
|
void |
reset()
Resets the internal state of the aggregator.
|
public LongValue getAggregate()
AggregatorgetAggregate in interface Aggregator<LongValue>public void aggregate(long count)
public void aggregate(LongValue count)
Aggregatoraggregate in interface Aggregator<LongValue>count - The element to aggregate.public void reset()
Aggregatorreset in interface Aggregator<LongValue>Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.