|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.utils.MergeIterator.Reducer<In,Out>
public abstract static class MergeIterator.Reducer<In,Out>
Accumulator that collects values of type A, and outputs a value of type B.
| Constructor Summary | |
|---|---|
MergeIterator.Reducer()
|
|
| Method Summary | |
|---|---|
void |
close()
May be overridden by implementations that require cleaning up after use |
protected abstract Out |
getReduced()
|
protected void |
onKeyChange()
Called at the begining of each new key, before any reduce is called. |
abstract void |
reduce(In current)
combine this object with the previous ones. |
boolean |
trivialReduceIsTrivial()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MergeIterator.Reducer()
| Method Detail |
|---|
public boolean trivialReduceIsTrivial()
public abstract void reduce(In current)
protected abstract Out getReduced()
protected void onKeyChange()
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||