Package | Description |
---|---|
org.apache.flink.streaming.api.datastream | |
org.apache.flink.streaming.connectors.kafka |
Modifier and Type | Method and Description |
---|---|
DataStreamSink<T> |
DataStream.addSink(SinkFunction<T> sinkFunction)
Adds the given sink to this DataStream.
|
DataStreamSink<T> |
KeyedStream.addSink(SinkFunction<T> sinkFunction) |
DataStreamSink<T> |
DataStreamSink.disableChaining()
Turns off chaining for this operator so thread co-location will not be
used as an optimization.
|
DataStreamSink<T> |
DataStreamSink.name(String name)
Sets the name of this sink.
|
DataStreamSink<T> |
DataStream.print()
Writes a DataStream to the standard output stream (stdout).
|
DataStreamSink<T> |
DataStream.printToErr()
Writes a DataStream to the standard output stream (stderr).
|
DataStreamSink<T> |
DataStreamSink.setParallelism(int parallelism)
Sets the parallelism for this sink.
|
DataStreamSink<T> |
DataStreamSink.setUidHash(String uidHash)
Sets an user provided hash for this operator.
|
DataStreamSink<T> |
DataStreamSink.slotSharingGroup(String slotSharingGroup)
Sets the slot sharing group of this operation.
|
DataStreamSink<T> |
DataStreamSink.uid(String uid)
Sets an ID for this operator.
|
DataStreamSink<T> |
DataStream.writeAsCsv(String path)
Writes a DataStream to the file specified by the path parameter.
|
DataStreamSink<T> |
DataStream.writeAsCsv(String path,
FileSystem.WriteMode writeMode)
Writes a DataStream to the file specified by the path parameter.
|
<X extends Tuple> |
DataStream.writeAsCsv(String path,
FileSystem.WriteMode writeMode,
String rowDelimiter,
String fieldDelimiter)
Writes a DataStream to the file specified by the path parameter.
|
DataStreamSink<T> |
DataStream.writeAsText(String path)
Writes a DataStream to the file specified by path in text format.
|
DataStreamSink<T> |
DataStream.writeAsText(String path,
FileSystem.WriteMode writeMode)
Writes a DataStream to the file specified by path in text format.
|
DataStreamSink<T> |
DataStream.writeToSocket(String hostName,
int port,
SerializationSchema<T> schema)
Writes the DataStream to a socket as a byte array.
|
DataStreamSink<T> |
DataStream.writeUsingOutputFormat(OutputFormat<T> format)
Writes the dataStream into an output, described by an OutputFormat.
|
Modifier and Type | Class and Description |
---|---|
static class |
FlinkKafkaProducer010.FlinkKafkaProducer010Configuration<T>
Deprecated.
This class is deprecated since the factory methods
writeToKafkaWithTimestamps
for the producer are also deprecated. |
Modifier and Type | Method and Description |
---|---|
DataStreamSink<T> |
FlinkKafkaProducer010.FlinkKafkaProducer010Configuration.disableChaining()
Deprecated.
|
DataStreamSink<T> |
FlinkKafkaProducer010.FlinkKafkaProducer010Configuration.name(String name)
Deprecated.
|
DataStreamSink<T> |
FlinkKafkaProducer010.FlinkKafkaProducer010Configuration.setParallelism(int parallelism)
Deprecated.
|
DataStreamSink<T> |
FlinkKafkaProducer010.FlinkKafkaProducer010Configuration.setUidHash(String uidHash)
Deprecated.
|
DataStreamSink<T> |
FlinkKafkaProducer010.FlinkKafkaProducer010Configuration.slotSharingGroup(String slotSharingGroup)
Deprecated.
|
DataStreamSink<T> |
FlinkKafkaProducer010.FlinkKafkaProducer010Configuration.uid(String uid)
Deprecated.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.