@Public public interface InputTypeConfigurable
OutputFormat
s can implement this interface to be configured
with the data type they will operate on. The method #setInputType(org.apache.flink.api
.common.typeinfo.TypeInformation, org.apache.flink.api.common.ExecutionConfig)
will be
called when the output format is used with an output method such as
DataSet.output(org.apache.flink.api.common.io.OutputFormat)
.Modifier and Type | Method and Description |
---|---|
void |
setInputType(TypeInformation<?> type,
ExecutionConfig executionConfig)
Method that is called on an
OutputFormat when it is passed to
the DataSet's output method. |
void setInputType(TypeInformation<?> type, ExecutionConfig executionConfig)
OutputFormat
when it is passed to
the DataSet's output method. May be used to configures the output format based on the data type.type
- The data type of the input.executionConfig
- Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.