public class CollectBatchTableSink extends Object implements org.apache.flink.table.sinks.BatchTableSink<org.apache.flink.types.Row>
| Constructor and Description |
|---|
CollectBatchTableSink(String accumulatorName,
org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.types.Row> serializer) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.sinks.TableSink<org.apache.flink.types.Row> |
configure(String[] fieldNames,
org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes) |
void |
emitDataSet(org.apache.flink.api.java.DataSet<org.apache.flink.types.Row> dataSet) |
String[] |
getFieldNames() |
org.apache.flink.api.common.typeinfo.TypeInformation<?>[] |
getFieldTypes() |
org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> |
getOutputType() |
org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.types.Row> |
getSerializer()
Returns the serializer for deserializing the collected result.
|
public CollectBatchTableSink(String accumulatorName, org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.types.Row> serializer)
public org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> getOutputType()
getOutputType in interface org.apache.flink.table.sinks.TableSink<org.apache.flink.types.Row>public String[] getFieldNames()
getFieldNames in interface org.apache.flink.table.sinks.TableSink<org.apache.flink.types.Row>public org.apache.flink.api.common.typeinfo.TypeInformation<?>[] getFieldTypes()
getFieldTypes in interface org.apache.flink.table.sinks.TableSink<org.apache.flink.types.Row>public org.apache.flink.table.sinks.TableSink<org.apache.flink.types.Row> configure(String[] fieldNames, org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes)
configure in interface org.apache.flink.table.sinks.TableSink<org.apache.flink.types.Row>public void emitDataSet(org.apache.flink.api.java.DataSet<org.apache.flink.types.Row> dataSet)
emitDataSet in interface org.apache.flink.table.sinks.BatchTableSink<org.apache.flink.types.Row>public org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.types.Row> getSerializer()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.