public class OrcOutputFormat<V extends Writable> extends FileOutputFormat<NullWritable,V>
FileOutputFormat.Counter
Constructor and Description |
---|
OrcOutputFormat() |
Modifier and Type | Method and Description |
---|---|
static OrcFile.WriterOptions |
buildOptions(Configuration conf)
This function builds the options for the ORC Writer based on the JobConf.
|
RecordWriter<NullWritable,V> |
getRecordWriter(FileSystem fileSystem,
JobConf conf,
String name,
Progressable progressable) |
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPath
public static OrcFile.WriterOptions buildOptions(Configuration conf)
conf
- the job configurationpublic RecordWriter<NullWritable,V> getRecordWriter(FileSystem fileSystem, JobConf conf, String name, Progressable progressable) throws IOException
getRecordWriter
in interface OutputFormat<NullWritable,V extends Writable>
getRecordWriter
in class FileOutputFormat<NullWritable,V extends Writable>
IOException
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.