cascading.operation
Class NoOp
java.lang.Object
cascading.operation.BaseOperation
cascading.operation.NoOp
- All Implemented Interfaces:
- DeclaresResults, Function, Operation, Traceable, Serializable
public class NoOp
- extends BaseOperation
- implements Function
Class NoOp does nothing. It ignores all arguments and returns an empty Tuple
, Tuple.NULL
.
Use with Fields.SWAP
to retain unknown fields, or use the Discard
sub-assembly.
- See Also:
Insert
,
Discard
,
Serialized Form
Fields inherited from interface cascading.operation.Operation |
ANY |
Constructor Summary |
NoOp()
Constructor NoOp creates a new NoOp instance that will ignore the argument values and return no output. |
Methods inherited from class cascading.operation.BaseOperation |
cleanup, equals, flush, getFieldDeclaration, getNumArgs, getTrace, hashCode, isSafe, prepare, printOperationInternal, toString, toStringInternal |
NoOp
public NoOp()
- Constructor NoOp creates a new NoOp instance that will ignore the argument values and return no output.
operate
public void operate(FlowProcess flowProcess,
FunctionCall functionCall)
- Description copied from interface:
Function
- Method operate provides the implementation of this Function.
- Specified by:
operate
in interface Function
- Parameters:
flowProcess
- of type FlowProcessfunctionCall
- of type FunctionCall
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.