public class FileDataSink extends DataSink
_configuration, _inputData, _numInstances, _stub| Constructor and Description |
|---|
FileDataSink(java.lang.Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<?,?>> outputFormatClass,
java.net.URI path,
java.lang.String name)
Create a new FileDataSink.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.api.java.JavaPairRDD<java.lang.Object,?> |
execute()
Execute the operator.
|
writeOutput_getOutput, getParameters, numInputs, setDegreeOfParallelism, setInput, setInputpublic FileDataSink(java.lang.Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<?,?>> outputFormatClass, java.net.URI path, java.lang.String name)
outputFormatClass - the format class to write the filepath - the output file pathname - the name of the operator