Uses of Class
org.apache.flink.streaming.api.datastream.DataStreamSink
Packages that use DataStreamSink
Package
Description
-
Uses of DataStreamSink in org.apache.flink.streaming.api.datastream
Methods in org.apache.flink.streaming.api.datastream that return DataStreamSinkModifier and TypeMethodDescriptionDataStream.addSink(SinkFunction<T> sinkFunction) Adds the given sink to this DataStream.KeyedStream.addSink(SinkFunction<T> sinkFunction) DataStreamSink.disableChaining()Turns off chaining for this operator so thread co-location will not be used as an optimization.static <T> DataStreamSink<T>DataStreamSink.forSink(DataStream<T> inputStream, org.apache.flink.api.connector.sink2.Sink<T> sink, CustomSinkOperatorUidHashes customSinkOperatorUidHashes) Sets the name of this sink.DataStream.print()Writes a DataStream to the standard output stream (stdout).Writes a DataStream to the standard output stream (stdout).DataStream.printToErr()Writes a DataStream to the standard error stream (stderr).DataStream.printToErr(String sinkIdentifier) Writes a DataStream to the standard error stream (stderr).DataStreamSink.setDescription(String description) Sets the description for this sink.DataStreamSink.setMaxParallelism(int maxParallelism) Sets the max parallelism for this sink.DataStreamSink.setParallelism(int parallelism) Sets the parallelism for this sink.DataStreamSink.setUidHash(String uidHash) Sets an user provided hash for this operator.Adds the givenSinkto this DataStream.DataStream.sinkTo(org.apache.flink.api.connector.sink2.Sink<T> sink, CustomSinkOperatorUidHashes customSinkOperatorUidHashes) Adds the givenSinkto this DataStream.DataStreamSink.slotSharingGroup(String slotSharingGroup) Sets the slot sharing group of this operation.DataStreamSink.slotSharingGroup(org.apache.flink.api.common.operators.SlotSharingGroup slotSharingGroup) Sets the slot sharing group of this operation.Sets an ID for this operator.DataStream.writeToSocket(String hostName, int port, org.apache.flink.api.common.serialization.SerializationSchema<T> schema) Writes the DataStream to a socket as a byte array.DataStream.writeUsingOutputFormat(org.apache.flink.api.common.io.OutputFormat<T> format) Deprecated. -
Uses of DataStreamSink in org.apache.flink.streaming.api.operators.collect
Subclasses of DataStreamSink in org.apache.flink.streaming.api.operators.collectModifier and TypeClassDescriptionclassADataStreamSinkwhich is used to collect results of a data stream.
org.apache.flink.streaming.api.functions.sink.filesystem.legacy.StreamingFileSinkexplicitly using theDataStream.addSink(SinkFunction)method.