T - Type of the DataStream created by this TableSource.public interface StreamTableSource<T>
extends org.apache.flink.table.sources.TableSource<T>
| 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. |
default boolean |
isBounded()
Returns true if this is a bounded source, false if this is an unbounded source.
|
default boolean isBounded()
org.apache.flink.streaming.api.datastream.DataStream<T> getDataStream(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment execEnv)
DataStream.
NOTE: This method is for internal use only for defining a TableSource.
Do not use it in Table API programs.
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.