T - type parameterpublic class TypeSerializerOutputFormat<T> extends org.apache.flink.api.common.io.BinaryOutputFormat<T> implements InputTypeConfigurable
| Constructor and Description |
|---|
TypeSerializerOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
serialize(T record,
org.apache.flink.core.memory.DataOutputView dataOutput) |
void |
setInputType(org.apache.flink.api.common.typeinfo.TypeInformation<?> type,
org.apache.flink.api.common.ExecutionConfig executionConfig)
Method that is called on an
OutputFormat when it is passed to
the DataSet's output method. |
void |
setSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer) |
close, complementBlockInfo, configure, createBlockInfo, open, writeRecordprotected void serialize(T record, org.apache.flink.core.memory.DataOutputView dataOutput) throws IOException
serialize in class org.apache.flink.api.common.io.BinaryOutputFormat<T>IOExceptionpublic void setSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
public void setInputType(org.apache.flink.api.common.typeinfo.TypeInformation<?> type,
org.apache.flink.api.common.ExecutionConfig executionConfig)
InputTypeConfigurableOutputFormat when it is passed to
the DataSet's output method. May be used to configures the output format based on the data type.setInputType in interface InputTypeConfigurabletype - The data type of the input.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.