cascading.operation
Class Debug
java.lang.Object
cascading.operation.BaseOperation
cascading.operation.Debug
- All Implemented Interfaces:
- Filter, Operation, Serializable
public class Debug
- extends BaseOperation
- implements Filter
Class Debug is a Filter that will never remove an item from a stream, but will print the Tuple to either
stdout or stderr.
- See Also:
- Serialized Form
| Fields inherited from interface cascading.operation.Operation |
ANY |
|
Constructor Summary |
Debug()
Constructor Debug creates a new Debug instance that prints to stderr by default, and does not print
the Tuple instance field names. |
Debug(boolean printFields)
Constructor Debug creates a new Debug instance that prints to stderr and will print the current
Tuple instance field names if printFields is true. |
Debug(Debug.Output output)
Constructor Debug creates a new Debug instance that prints to the declared stream and does not print the Tuple
field names. |
Debug(Debug.Output output,
boolean printFields)
Constructor Debug creates a new Debug instance that prints to the declared stream and will print the Tuple instances
field names if printFields is true. |
|
Method Summary |
boolean |
isRemove(TupleEntry input)
Method isRemove returns true if input should be removed from the tuple stream. |
Debug
public Debug()
- Constructor Debug creates a new Debug instance that prints to stderr by default, and does not print
the Tuple instance field names.
Debug
public Debug(boolean printFields)
- Constructor Debug creates a new Debug instance that prints to stderr and will print the current
Tuple instance field names if printFields is true.
- Parameters:
printFields - of type boolean
Debug
public Debug(Debug.Output output)
- Constructor Debug creates a new Debug instance that prints to the declared stream and does not print the Tuple
field names.
- Parameters:
output - of type Output
Debug
public Debug(Debug.Output output,
boolean printFields)
- Constructor Debug creates a new Debug instance that prints to the declared stream and will print the Tuple instances
field names if printFields is true.
- Parameters:
output - of type Output
isRemove
public boolean isRemove(TupleEntry input)
- Description copied from interface:
Filter
- Method isRemove returns true if input should be removed from the tuple stream.
- Specified by:
isRemove in interface Filter
- Parameters:
input - of type TupleEntry
- Returns:
- boolean
- See Also:
Filter.isRemove(TupleEntry)
Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.