cascading.operation.expression
Class ExpressionOperation
java.lang.Object
cascading.operation.BaseOperation<ExpressionOperation.Context>
cascading.operation.expression.ExpressionOperation
- All Implemented Interfaces:
- Operation<ExpressionOperation.Context>, Serializable
- Direct Known Subclasses:
- AssertExpression, ExpressionFilter, ExpressionFunction
public class ExpressionOperation
- extends BaseOperation<ExpressionOperation.Context>
Class ExpressionOperation is the base class for ExpressionFunction, ExpressionFilter,
AssertExpression.
- See Also:
- Serialized Form
| Fields inherited from interface cascading.operation.Operation |
ANY |
expression
protected String expression
- Field expression
ExpressionOperation
protected ExpressionOperation(Fields fieldDeclaration,
String expression)
ExpressionOperation
protected ExpressionOperation(Fields fieldDeclaration,
String expression,
Class parameterType)
ExpressionOperation
protected ExpressionOperation(Fields fieldDeclaration,
String expression,
String[] parameterNames,
Class[] parameterTypes)
ExpressionOperation
protected ExpressionOperation(String expression,
Class parameterType)
ExpressionOperation
protected ExpressionOperation(String expression,
String[] parameterNames,
Class[] parameterTypes)
prepare
public void prepare(FlowProcess flowProcess,
OperationCall<ExpressionOperation.Context> operationCall)
- Description copied from class:
BaseOperation
- Method prepare does nothing, and may safely be overridden.
- Specified by:
prepare in interface Operation<ExpressionOperation.Context>- Overrides:
prepare in class BaseOperation<ExpressionOperation.Context>
evaluate
protected Comparable evaluate(ExpressionOperation.Context context,
TupleEntry input)
- Performs the actual expression evaluation.
- Parameters:
context - input - of type TupleEntry @return Comparable
Copyright © 2007-2009 Concurrent, Inc. All Rights Reserved.