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.
Defines an external bounded table and provides access to its data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal 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,?> Deprecated.Returns anInputFormatfor reading the data of the table.final booleanDeprecated.Always returns true which indicates this is a bounded source.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.legacy.sources.TableSource
explainSource, getProducedDataType, getReturnType, getTableSchema
-
Constructor Details
-
InputFormatTableSource
public InputFormatTableSource()Deprecated.
-
-
Method Details
-
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>
-
DynamicTableSource. The new interface produces internal data structures. See FLIP-95 for more information.