public interface AggregatorCall<C> extends OperationCall<C>
Aggregator
invocation arguments.
This interface is generic, allowing the user to set a custom 'context' object when Aggregator.start(cascading.flow.FlowProcess, AggregatorCall)
is called. The OperationCall.setContext(Object)
and OperationCall.getContext()
methods are
inherited from OperationCall
.Aggregator
,
OperationCall
Modifier and Type | Method and Description |
---|---|
TupleEntry |
getArguments()
Returns
TupleEntry of argument values. |
Fields |
getDeclaredFields()
|
TupleEntry |
getGroup()
Returns the current grouping
TupleEntry . |
TupleEntryCollector |
getOutputCollector()
Returns the
TupleEntryCollector used to emit result values. |
getArgumentFields, getContext, setContext
TupleEntry getGroup()
TupleEntry
.TupleEntry getArguments()
TupleEntry
of argument values.
Will return null
unless called in Aggregator.aggregate(cascading.flow.FlowProcess, AggregatorCall)
.
Note that the returned TupleEntry should not be cached (stored in a Collection), nor should the underlying Tuple
instance. Where possible Cascading will re-use both TupleEntry and Tuple instances.
To get a safe copy that can be cached, use TupleEntry.getTupleCopy()
.Fields getDeclaredFields()
TupleEntryCollector getOutputCollector()
TupleEntryCollector
used to emit result values.
Will return null
unless called in Aggregator.complete(cascading.flow.FlowProcess, AggregatorCall)
.Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.