public class BucketizedHiveInputSplit extends HiveInputFormat.HiveInputSplit
Modifier and Type | Field and Description |
---|---|
protected String |
inputFormatClassName |
protected org.apache.hadoop.mapred.InputSplit[] |
inputSplits |
Constructor and Description |
---|
BucketizedHiveInputSplit() |
BucketizedHiveInputSplit(org.apache.hadoop.mapred.InputSplit[] inputSplits,
String inputFormatClassName) |
Modifier and Type | Method and Description |
---|---|
String |
getInputFormatClassName() |
long |
getLength() |
long |
getLength(int idx) |
String[] |
getLocations() |
int |
getNumSplits() |
org.apache.hadoop.fs.Path |
getPath() |
org.apache.hadoop.mapred.InputSplit |
getSplit(int idx) |
long |
getStart()
The position of the first byte in the file to process.
|
String |
inputFormatClassName() |
void |
readFields(DataInput in) |
void |
setInputFormatClassName(String inputFormatClassName) |
String |
toString() |
void |
write(DataOutput out) |
getConf, getInputSplit, setConf
protected org.apache.hadoop.mapred.InputSplit[] inputSplits
protected String inputFormatClassName
public BucketizedHiveInputSplit()
public BucketizedHiveInputSplit(org.apache.hadoop.mapred.InputSplit[] inputSplits, String inputFormatClassName)
public String getInputFormatClassName()
public void setInputFormatClassName(String inputFormatClassName)
public int getNumSplits()
public org.apache.hadoop.mapred.InputSplit getSplit(int idx)
public String inputFormatClassName()
inputFormatClassName
in class HiveInputFormat.HiveInputSplit
public org.apache.hadoop.fs.Path getPath()
getPath
in class HiveInputFormat.HiveInputSplit
public long getStart()
getStart
in class HiveInputFormat.HiveInputSplit
public String toString()
toString
in class HiveInputFormat.HiveInputSplit
public long getLength()
getLength
in interface org.apache.hadoop.mapred.InputSplit
getLength
in class HiveInputFormat.HiveInputSplit
public long getLength(int idx)
public String[] getLocations() throws IOException
getLocations
in interface org.apache.hadoop.mapred.InputSplit
getLocations
in class HiveInputFormat.HiveInputSplit
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class HiveInputFormat.HiveInputSplit
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class HiveInputFormat.HiveInputSplit
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.