Class DiscardingSink<T>
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.sink.DiscardingSink<T>
-
- Type Parameters:
T- The type of elements received by the sink.
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.api.common.SupportsConcurrentExecutionAttempts,SinkFunction<T>
@Deprecated @Public public class DiscardingSink<T> extends Object implements SinkFunction<T>, org.apache.flink.api.common.SupportsConcurrentExecutionAttempts
Deprecated.This interface will be removed in future versions. Use the newDiscardingSinkinterface instead.A stream sink that ignores all elements.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.functions.sink.SinkFunction
SinkFunction.Context
-
-
Constructor Summary
Constructors Constructor Description DiscardingSink()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidinvoke(T value)Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.streaming.api.functions.sink.SinkFunction
finish, invoke, writeWatermark
-
-
-
-
Method Detail
-
invoke
public void invoke(T value)
Deprecated.- Specified by:
invokein interfaceSinkFunction<T>
-
-