T
- Type of the DataStream
created by this TableSource
.public interface StreamTableSource<T> extends TableSource<T>
Modifier and Type | Method and Description |
---|---|
DataStream<T> |
getDataStream(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.
|
explainSource, getProducedDataType, getReturnType, getTableSchema
default boolean isBounded()
DataStream<T> getDataStream(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.