public class Last extends ExtentBase
Aggregator
that returns the last Tuple
encountered.
By default, it returns the last Tuple of Fields.ARGS
found.fieldDeclaration, numArgs, trace
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
performOperation(Tuple[] context,
TupleEntry entry) |
aggregate, complete, equals, getIgnoreTuples, getResult, hashCode, prepare, start
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cleanup, flush, getFieldDeclaration, getNumArgs, isSafe
public Last()
@ConstructorProperties(value="fieldDeclaration") public Last(Fields fieldDeclaration)
fieldDeclaration
- of type Fields@ConstructorProperties(value={"fieldDeclaration","ignoreTuples"}) public Last(Fields fieldDeclaration, Tuple... ignoreTuples)
fieldDeclaration
- of type FieldsignoreTuples
- of type Tuple...protected void performOperation(Tuple[] context, TupleEntry entry)
performOperation
in class ExtentBase
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.