public static class AbstractKeyArrayIndexProcedure.ResultBitBufferCounter extends Object implements IResultHandler<AbstractKeyArrayIndexProcedure.ResultBitBuffer,Long>
true
bits in the AbstractKeyArrayIndexProcedure.ResultBitBuffer
(s).Constructor and Description |
---|
AbstractKeyArrayIndexProcedure.ResultBitBufferCounter() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(AbstractKeyArrayIndexProcedure.ResultBitBuffer 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()
The #of
true values observed in the aggregated
AbstractKeyArrayIndexProcedure.ResultBitBuffer s. |
public AbstractKeyArrayIndexProcedure.ResultBitBufferCounter()
public void aggregate(AbstractKeyArrayIndexProcedure.ResultBitBuffer result, Split split)
IResultHandler
aggregate
in interface IResultHandler<AbstractKeyArrayIndexProcedure.ResultBitBuffer,Long>
result
- The result from applying the procedure to a single index
partition.split
- The Split
that generated that result.public Long getResult()
true
values observed in the aggregated
AbstractKeyArrayIndexProcedure.ResultBitBuffer
s.getResult
in interface IResultHandler<AbstractKeyArrayIndexProcedure.ResultBitBuffer,Long>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.