T - Type of the bounded InputFormat created by this TableSource.@Experimental public abstract class InputFormatTableSource<T> extends Object implements StreamTableSource<T>
| Constructor and Description |
|---|
InputFormatTableSource() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.streaming.api.datastream.DataStream<T> |
getDataStream(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment execEnv)
Returns the data of the table as a
DataStream. |
abstract org.apache.flink.api.common.io.InputFormat<T,?> |
getInputFormat()
Returns an
InputFormat for reading the data of the table. |
boolean |
isBounded()
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–2020 The Apache Software Foundation. All rights reserved.