com.ibm.streams.flow.handlers
Class StreamDiscarder<T>
- java.lang.Object
-
- com.ibm.streams.flow.handlers.StreamDiscarder<T>
-
- Type Parameters:
T
- Type for the tuples on the stream
- All Implemented Interfaces:
- StreamHandler<T>
public final class StreamDiscarder<T> extends java.lang.Object implements StreamHandler<T>
Discards all tuples and marks.- Since:
- InfoSphere® Streams Version 3.1
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
IBM_COPYRIGHT
-
Constructor Summary
Constructors Constructor and Description StreamDiscarder()
-
Method Summary
Methods Modifier and Type Method and Description void
mark(StreamingData.Punctuation mark)
Do nothing with the mark.void
tuple(T tuple)
Do nothing with the tuple.
-
-
-
Field Detail
-
IBM_COPYRIGHT
public static final java.lang.String IBM_COPYRIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
tuple
public final void tuple(T tuple) throws java.lang.Exception
Do nothing with the tuple.- Specified by:
tuple
in interfaceStreamHandler<T>
- Parameters:
tuple
- The tuple.- Throws:
java.lang.Exception
- Failure to process the tuple.
-
mark
public final void mark(StreamingData.Punctuation mark) throws java.lang.Exception
Do nothing with the mark.- Specified by:
mark
in interfaceStreamHandler<T>
- Parameters:
mark
- The punctuation mark.- Throws:
java.lang.Exception
- Failure to process the punctuation mark.
-
-