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()
Aggregator
getAggregate
in interface Aggregator<LongValue>
public void aggregate(long count)
public void aggregate(LongValue count)
Aggregator
aggregate
in interface Aggregator<LongValue>
count
- The element to aggregate.public void reset()
Aggregator
reset
in interface Aggregator<LongValue>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.