public class FileDataSinkBase<IN> extends GenericDataSinkBase<IN>
FileOutputFormat.FileOutputFormat| Modifier and Type | Field and Description |
|---|---|
protected String |
filePath |
formatWrapper, inputcompilerHints, name, operatorInfo, parameters| Constructor and Description |
|---|
FileDataSinkBase(FileOutputFormat<IN> f,
UnaryOperatorInformation<IN,Nothing> operatorInfo,
String filePath,
String name)
Creates a FileDataSink with the provided
FileOutputFormat implementation
and the given name, writing to the file indicated by the given path. |
FileDataSinkBase(UserCodeWrapper<FileOutputFormat<IN>> f,
UnaryOperatorInformation<IN,Nothing> operatorInfo,
String filePath,
String name)
Creates a FileDataSink with the provided
FileOutputFormat implementation
and the given name, writing to the file indicated by the given path. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFilePath()
Returns the configured file path where the output is written to.
|
String |
toString() |
accept, addInput, addInputs, executeOnCollections, getDataDistribution, getFormatWrapper, getInput, getLocalOrder, getPartitionOrdering, getUserCodeWrapper, setGlobalOrder, setGlobalOrder, setInput, setInputs, setInputs, setLocalOrder, setRangePartitioned, setRangePartitionedcreateUnionCascade, createUnionCascade, createUnionCascade, getCompilerHints, getName, getOperatorInfo, getParallelism, getParameters, setName, setParallelism, setParameter, setParameter, setParameterprotected final String filePath
public FileDataSinkBase(FileOutputFormat<IN> f, UnaryOperatorInformation<IN,Nothing> operatorInfo, String filePath, String name)
FileOutputFormat implementation
and the given name, writing to the file indicated by the given path.f - The FileOutputFormat implementation used to encode the data.filePath - The path to the file to write the contents to.name - The given name for the sink, used in plans, logs and progress messages.public FileDataSinkBase(UserCodeWrapper<FileOutputFormat<IN>> f, UnaryOperatorInformation<IN,Nothing> operatorInfo, String filePath, String name)
FileOutputFormat implementation
and the given name, writing to the file indicated by the given path.f - The FileOutputFormat implementation used to encode the data.filePath - The path to the file to write the contents to.name - The given name for the sink, used in plans, logs and progress messages.public String getFilePath()
public String toString()
toString in class GenericDataSinkBase<IN>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.