public class BooleanORAggregator extends Object implements IResultHandler<Boolean,Boolean>
OR
. The
result
will be true
if any of the
component results was true
.Constructor and Description |
---|
BooleanORAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(Boolean result,
Split split)
Method is invoked for each result and is responsible for combining
the results in whatever manner is meaningful for the procedure.
|
Boolean |
getResult()
Return the aggregated results as an implementation dependent object.
|
public void aggregate(Boolean result, Split split)
IResultHandler
aggregate
in interface IResultHandler<Boolean,Boolean>
result
- The result from applying the procedure to a single index
partition.split
- The Split
that generated that result.public Boolean getResult()
IResultHandler
getResult
in interface IResultHandler<Boolean,Boolean>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.