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 |
---|---|
DataStream<T> |
getDataStream(StreamExecutionEnvironment execEnv)
Returns the data of the table as a
DataStream . |
abstract 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
explainSource, getProducedDataType, getReturnType, getTableSchema
public abstract InputFormat<T,?> getInputFormat()
InputFormat
for reading the data of the table.public final boolean isBounded()
isBounded
in interface StreamTableSource<T>
public final DataStream<T> getDataStream(StreamExecutionEnvironment execEnv)
StreamTableSource
DataStream
.
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.