cascading.operation.aggregator
Class Last
java.lang.Object
cascading.operation.BaseOperation
cascading.operation.aggregator.ExtentBase
cascading.operation.aggregator.Last
- All Implemented Interfaces:
- Aggregator, Operation, Serializable
public class Last
- extends ExtentBase
Class Last is an Aggregator that returns the last Tuple encountered.
By default, it returns the last Tuple of Fields.ARGS found.
- See Also:
- Serialized Form
| Fields inherited from interface cascading.operation.Operation |
ANY |
|
Constructor Summary |
Last()
Selects and returns the last argument Tuple encountered. |
Last(Fields fieldDeclaration)
Selects and returns the last argument Tuple encountered. |
Last(Fields fieldDeclaration,
Tuple... ignoreTuples)
Selects and returns the last argument Tuple encountered, unless the Tuple
is a member of the set ignoreTuples. |
Last
public Last()
- Selects and returns the last argument Tuple encountered.
Last
public Last(Fields fieldDeclaration)
- Selects and returns the last argument Tuple encountered.
- Parameters:
fieldDeclaration - of type Fields
Last
public Last(Fields fieldDeclaration,
Tuple... ignoreTuples)
- Selects and returns the last argument Tuple encountered, unless the Tuple
is a member of the set ignoreTuples.
- Parameters:
fieldDeclaration - of type FieldsignoreTuples - of type Tuple...
performOperation
protected void performOperation(Map context,
TupleEntry entry)
- Specified by:
performOperation in class ExtentBase
Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.