T - Type of the bounded InputFormat created by this TableSource.DynamicTableSource. The new interface
produces internal data structures. See FLIP-95 for more information.@Deprecated @Experimental public abstract class InputFormatTableSource<T> extends Object implements StreamTableSource<T>
| Constructor and Description |
|---|
InputFormatTableSource()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.streaming.api.datastream.DataStream<T> |
getDataStream(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment execEnv)
Deprecated.
Returns the data of the table as a
DataStream. |
abstract org.apache.flink.api.common.io.InputFormat<T,?> |
getInputFormat()
Deprecated.
Returns an
InputFormat for reading the data of the table. |
boolean |
isBounded()
Deprecated.
Always returns true which indicates this is a bounded source.
|
public abstract org.apache.flink.api.common.io.InputFormat<T,?> getInputFormat()
InputFormat for reading the data of the table.public final boolean isBounded()
isBounded in interface StreamTableSource<T>public final org.apache.flink.streaming.api.datastream.DataStream<T> getDataStream(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment execEnv)
StreamTableSourceDataStream.
NOTE: This method is for internal use only for defining a TableSource. Do not use
it in Table API programs.
getDataStream in interface StreamTableSource<T>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.