T- The return type of the
@PublicEvolving public interface TableSource<T>
The data of a
TableSource is produced as a
DataSet in case of a
or as a
DataStream in case of a
StreamTableSource. The type of ths produced
DataStream is specified by the
|Modifier and Type||Method and Description|
Describes the table source.
This method will be removed in future versions as it uses the old type system. It is recommended to use
Returns the schema of the produced table.
default DataType getProducedDataType()
@Deprecated default TypeInformation<T> getReturnType()
getProducedDataType()instead which uses the new type system based on
DataTypes. Please make sure to use either the old or the new type system consistently to avoid unintended behavior. See the website documentation for more information.
TableSchemaof the produced table.
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.