|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GroupAssertion<C>
Class GroupAssertion is a kind of Assertion used with the Every pipe Operator.
BaseOperation.
Aggregator| Field Summary |
|---|
| Fields inherited from interface cascading.operation.Operation |
|---|
ANY |
| Method Summary | |
|---|---|
void |
aggregate(FlowProcess flowProcess,
GroupAssertionCall<C> assertionCall)
Method aggregate is called for each TupleEntry value in the current grouping. |
void |
doAssert(FlowProcess flowProcess,
GroupAssertionCall<C> assertionCall)
Method doAssert performs the assertion. |
void |
start(FlowProcess flowProcess,
GroupAssertionCall<C> assertionCall)
Method start initializes the aggregation procedure and is called for every unique grouping. |
| Methods inherited from interface cascading.operation.Operation |
|---|
cleanup, getFieldDeclaration, getNumArgs, prepare |
| Method Detail |
|---|
void start(FlowProcess flowProcess,
GroupAssertionCall<C> assertionCall)
aggregate(cascading.flow.FlowProcess, GroupAssertionCall) call,
new HashMap() should be set on the AggregatorCall instance when OperationCall.getContext() is null.
On the next grouping, start() will be called again, but this time with the old Map instance. In this case,
map.clear() should be invoked before returning.
flowProcess - of type FlowProcessassertionCall - of type GroupAssertionCall
void aggregate(FlowProcess flowProcess,
GroupAssertionCall<C> assertionCall)
TupleEntry value in the current grouping.
flowProcess - of type FlowProcessassertionCall - of type GroupAssertionCall
void doAssert(FlowProcess flowProcess,
GroupAssertionCall<C> assertionCall)
flowProcess - of type FlowProcessassertionCall - of type GroupAssertionCall
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||