Class InputFormatTableSource<T>
- java.lang.Object
-
- org.apache.flink.legacy.table.sources.InputFormatTableSource<T>
-
- Type Parameters:
T- Type of the boundedInputFormatcreated by thisTableSource.
- All Implemented Interfaces:
StreamTableSource<T>,org.apache.flink.table.legacy.sources.TableSource<T>
@Deprecated @Internal public abstract class InputFormatTableSource<T> extends Object implements StreamTableSource<T>
Deprecated.This interface has been replaced byDynamicTableSource. The new interface produces internal data structures. See FLIP-95 for more information.Defines an external bounded table and provides access to its data.
-
-
Constructor Summary
Constructors Constructor Description InputFormatTableSource()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 aDataStream.abstract org.apache.flink.api.common.io.InputFormat<T,?>getInputFormat()Deprecated.Returns anInputFormatfor reading the data of the table.booleanisBounded()Deprecated.Always returns true which indicates this is a bounded source.
-
-
-
Method Detail
-
getInputFormat
public abstract org.apache.flink.api.common.io.InputFormat<T,?> getInputFormat()
Deprecated.Returns anInputFormatfor reading the data of the table.
-
isBounded
public final boolean isBounded()
Deprecated.Always returns true which indicates this is a bounded source.- Specified by:
isBoundedin interfaceStreamTableSource<T>
-
getDataStream
public final org.apache.flink.streaming.api.datastream.DataStream<T> getDataStream(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment execEnv)
Deprecated.Description copied from interface:StreamTableSourceReturns 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.- Specified by:
getDataStreamin interfaceStreamTableSource<T>
-
-