public class IntegerAggregator extends Object implements IResultHandler<Integer,Long>
Integer
result, making the sum available
as a Long
integer (to help prevent overflow).Constructor and Description |
---|
IntegerAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(Integer result,
Split split)
Method is invoked for each result and is responsible for combining
the results in whatever manner is meaningful for the procedure.
|
Long |
getResult()
Return the aggregated results as an implementation dependent object.
|
public void aggregate(Integer result, Split split)
IResultHandler
aggregate
in interface IResultHandler<Integer,Long>
result
- The result from applying the procedure to a single index
partition.split
- The Split
that generated that result.public Long getResult()
IResultHandler
getResult
in interface IResultHandler<Integer,Long>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.