Interface StreamTableSource<T>
- Type Parameters:
T- Type of theDataStreamcreated by thisTableSource.
- All Superinterfaces:
org.apache.flink.table.legacy.sources.TableSource<T>
- All Known Implementing Classes:
CsvTableSource,InputFormatTableSource
@Deprecated
@Internal
public interface StreamTableSource<T>
extends org.apache.flink.table.legacy.sources.TableSource<T>
Deprecated.
Defines an external stream table and provides read access to its data.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.streaming.api.datastream.DataStream<T>getDataStream(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment execEnv) Deprecated.Returns the data of the table as aDataStream.default booleanDeprecated.Returns true if this is a bounded source, false if this is an unbounded source.Methods inherited from interface org.apache.flink.table.legacy.sources.TableSource
explainSource, getProducedDataType, getReturnType, getTableSchema
-
Method Details
-
isBounded
default boolean isBounded()Deprecated.Returns true if this is a bounded source, false if this is an unbounded source. Default is unbounded for compatibility. -
getDataStream
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 aDataStream.NOTE: This method is for internal use only for defining a
TableSource. Do not use it in Table API programs.
-
DynamicTableSource. The new interface produces internal data structures. See FLIP-95 for more information.