T - The return type of the TableSink.@PublicEvolving
public interface TableSink<T>
TableSink specifies how to emit a table to an external
system or location.
The interface is generic such that it can support different storage locations and formats.
| 限定符和类型 | 方法和说明 |
|---|---|
TableSink<T> |
configure(String[] fieldNames,
org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes)
Returns a copy of this
TableSink configured with the field names and types of the
table to emit. |
String[] |
getFieldNames()
Returns the names of the table fields.
|
org.apache.flink.api.common.typeinfo.TypeInformation<?>[] |
getFieldTypes()
Returns the types of the table fields.
|
org.apache.flink.api.common.typeinfo.TypeInformation<T> |
getOutputType()
Returns the type expected by this
TableSink. |
org.apache.flink.api.common.typeinfo.TypeInformation<T> getOutputType()
TableSink.
This type should depend on the types returned by getFieldNames().
TableSink.String[] getFieldNames()
org.apache.flink.api.common.typeinfo.TypeInformation<?>[] getFieldTypes()
TableSink<T> configure(String[] fieldNames, org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes)
TableSink configured with the field names and types of the
table to emit.fieldNames - The field names of the table to emit.fieldTypes - The field types of the table to emit.TableSink configured with the field names and types of the
table to emit.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.