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, setConfprotected 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.HiveInputSplitpublic org.apache.hadoop.fs.Path getPath()
getPath in class HiveInputFormat.HiveInputSplitpublic long getStart()
getStart in class HiveInputFormat.HiveInputSplitpublic String toString()
toString in class HiveInputFormat.HiveInputSplitpublic long getLength()
getLength in interface org.apache.hadoop.mapred.InputSplitgetLength in class HiveInputFormat.HiveInputSplitpublic long getLength(int idx)
public String[] getLocations() throws IOException
getLocations in interface org.apache.hadoop.mapred.InputSplitgetLocations in class HiveInputFormat.HiveInputSplitIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class HiveInputFormat.HiveInputSplitIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class HiveInputFormat.HiveInputSplitIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.