|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BufferCall<C>
Interface BufferCall provides access to the current Buffer
invocation arguments.
Method Summary | |
---|---|
Iterator<TupleEntry> |
getArgumentsIterator()
Returns an Iterator of TupleEntry instances representing the arguments for the called
Buffer.operate(cascading.flow.FlowProcess, BufferCall) method. |
Fields |
getDeclaredFields()
Return the resolved Fields declared by the current Operation . |
TupleEntry |
getGroup()
Returns the current grouping TupleEntry . |
TupleEntryCollector |
getOutputCollector()
Returns the TupleEntryCollector used to emit result values. |
boolean |
isRetainValues()
Returns true if non-grouping fields will not be nulled after the argumentsIterator is completed. |
void |
setRetainValues(boolean retainValues)
Set to false if at the end of all values iterated over in the argumentsIterator, the last seen argument tuple
values should not be nulled out. |
Methods inherited from interface cascading.operation.OperationCall |
---|
getArgumentFields, getContext, setContext |
Method Detail |
---|
TupleEntry getGroup()
TupleEntry
.
Iterator<TupleEntry> getArgumentsIterator()
Iterator
of TupleEntry
instances representing the arguments for the called
Buffer.operate(cascading.flow.FlowProcess, BufferCall)
method.
Fields getDeclaredFields()
Fields
declared by the current Operation
.
TupleEntryCollector getOutputCollector()
TupleEntryCollector
used to emit result values. Zero or more entries may be emitted.
void setRetainValues(boolean retainValues)
false
if at the end of all values iterated over in the argumentsIterator, the last seen argument tuple
values should not be nulled out.
By default, if a result is emitted from the Buffer before and after the argumentsIterator is started or completed,
the last seen non-grouping values are null. When false, the values are not nulled after completion.
The default is true
.
retainValues
- of type booleanboolean isRetainValues()
true
if non-grouping fields will not be nulled after the argumentsIterator is completed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |