File tree 3 files changed +4
-2
lines changed
flink-python/src/main/java/org/apache/flink/table/runtime/arrow/sources
flink-runtime/src/main/java/org/apache/flink/streaming/api
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 63
63
* @deprecated This class is based on the {@link SourceFunction} API, which is due to be removed.
64
64
* Use the new {@link org.apache.flink.api.connector.source.Source} API instead.
65
65
*/
66
- @ Deprecated
67
66
@ Internal
68
67
public class ArrowSourceFunction extends RichParallelSourceFunction <RowData >
69
68
implements ResultTypeQueryable <RowData >, CheckpointedFunction {
Original file line number Diff line number Diff line change @@ -864,7 +864,11 @@ protected DataStream<T> setConnectionType(StreamPartitioner<T> partitioner) {
864
864
*
865
865
* @param sinkFunction The object containing the sink's invoke function.
866
866
* @return The closed DataStream.
867
+ * @deprecated This method relies on the {@link SinkFunction} API, which is due to be removed.
868
+ * Use the {@link #sinkTo(Sink)} method based on the new {@link
869
+ * org.apache.flink.api.connector.sink2.Sink} API instead.
867
870
*/
871
+ @ Deprecated
868
872
public DataStreamSink <T > addSink (SinkFunction <T > sinkFunction ) {
869
873
870
874
// read the output type of the input Transform to coax out errors about MissingTypeInfo
Original file line number Diff line number Diff line change 32
32
* org.apache.flink.api.connector.sink2.Sink} interface instead.
33
33
*/
34
34
@ Internal
35
- @ Deprecated
36
35
public interface SinkFunction <IN > extends Function , Serializable {
37
36
38
37
/**
You can’t perform that action at this time.
0 commit comments