public class InputOutputFormatContainer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InputOutputFormatContainer.FormatUserCodeTable
Container for multiple wrappers containing
InputFormat and OutputFormat code. |
Constructor and Description |
---|
InputOutputFormatContainer(ClassLoader classLoader) |
InputOutputFormatContainer(TaskConfig config,
ClassLoader classLoader) |
public InputOutputFormatContainer(ClassLoader classLoader)
public InputOutputFormatContainer(TaskConfig config, ClassLoader classLoader)
public Map<OperatorID,UserCodeWrapper<? extends InputFormat<?,?>>> getInputFormats()
public Map<OperatorID,UserCodeWrapper<? extends OutputFormat<?>>> getOutputFormats()
public <OT,T extends InputSplit> org.apache.commons.lang3.tuple.Pair<OperatorID,InputFormat<OT,T>> getUniqueInputFormat()
public <IT> org.apache.commons.lang3.tuple.Pair<OperatorID,OutputFormat<IT>> getUniqueOutputFormat()
public InputOutputFormatContainer addInputFormat(OperatorID operatorId, InputFormat<?,?> inputFormat)
public InputOutputFormatContainer addInputFormat(OperatorID operatorId, UserCodeWrapper<? extends InputFormat<?,?>> wrapper)
public InputOutputFormatContainer addOutputFormat(OperatorID operatorId, OutputFormat<?> outputFormat)
public InputOutputFormatContainer addOutputFormat(OperatorID operatorId, UserCodeWrapper<? extends OutputFormat<?>> wrapper)
public Configuration getParameters(OperatorID operatorId)
public InputOutputFormatContainer addParameters(OperatorID operatorId, Configuration parameters)
public InputOutputFormatContainer addParameters(OperatorID operatorId, String key, String value)
public void write(TaskConfig config)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.