public class OrcInputFormat<V extends WritableComparable> extends FileInputFormat<NullWritable,V>
FileInputFormat.CounterDEFAULT_LIST_STATUS_NUM_THREADS, INPUT_DIR, INPUT_DIR_RECURSIVE, LIST_STATUS_NUM_THREADS, NUM_INPUT_FILES, PATHFILTER_CLASS, SPLIT_MAXSIZE, SPLIT_MINSIZE| Constructor and Description | 
|---|
| OrcInputFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| RecordReader<NullWritable,V> | createRecordReader(InputSplit inputSplit,
                  TaskAttemptContext taskAttemptContext) | 
| protected List<FileStatus> | listStatus(JobContext job) | 
| static void | setSearchArgument(Configuration conf,
                 SearchArgument sarg,
                 String[] columnNames)Put the given SearchArgument into the configuration for an OrcInputFormat. | 
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, isSplitable, makeSplit, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSizepublic static void setSearchArgument(Configuration conf, SearchArgument sarg, String[] columnNames)
conf - the configuration to modifysarg - the SearchArgument to put in the configurationcolumnNames - the list of column names for the SearchArgumentpublic RecordReader<NullWritable,V> createRecordReader(InputSplit inputSplit, TaskAttemptContext taskAttemptContext) throws IOException, InterruptedException
createRecordReader in class InputFormat<NullWritable,V extends WritableComparable>IOExceptionInterruptedExceptionprotected List<FileStatus> listStatus(JobContext job) throws IOException
listStatus in class FileInputFormat<NullWritable,V extends WritableComparable>IOExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.