public class CombineHiveInputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable> extends HiveInputFormat<K,V>
Modifier and Type | Class and Description |
---|---|
static interface |
CombineHiveInputFormat.AvoidSplitCombination
This is a marker interface that is used to identify the formats where
combine split generation is not applicable
|
static class |
CombineHiveInputFormat.CombineHiveInputSplit
CombineHiveInputSplit encapsulates an InputSplit with its corresponding
inputFormatClassName.
|
HiveInputFormat.HiveInputSplit
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
mrwork, pathToPartitionInfo
Constructor and Description |
---|
CombineHiveInputFormat() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.RecordReader |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter)
Create a generic Hive RecordReader than can iterate over all chunks in a
CombinedFileSplit.
|
org.apache.hadoop.mapred.InputSplit[] |
getSplits(org.apache.hadoop.mapred.JobConf job,
int numSplits)
Create Hive splits based on CombineFileSplit.
|
configure, getInputFormatFromCache, getPartitionDescFromPath, init, pushFilters, pushProjectionsAndFilters, pushProjectionsAndFilters
public org.apache.hadoop.mapred.InputSplit[] getSplits(org.apache.hadoop.mapred.JobConf job, int numSplits) throws IOException
getSplits
in interface org.apache.hadoop.mapred.InputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
getSplits
in class HiveInputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
IOException
public org.apache.hadoop.mapred.RecordReader getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws IOException
getRecordReader
in interface org.apache.hadoop.mapred.InputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
getRecordReader
in class HiveInputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.