public static class HiveInputFormat.HiveInputSplit
extends org.apache.hadoop.mapred.FileSplit
implements org.apache.hadoop.mapred.InputSplit, org.apache.hadoop.conf.Configurable
| Constructor and Description |
|---|
HiveInputFormat.HiveInputSplit() |
HiveInputFormat.HiveInputSplit(org.apache.hadoop.mapred.InputSplit inputSplit,
String inputFormatClassName) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
org.apache.hadoop.mapred.InputSplit |
getInputSplit() |
long |
getLength() |
String[] |
getLocations() |
org.apache.hadoop.fs.Path |
getPath() |
long |
getStart()
The position of the first byte in the file to process.
|
String |
inputFormatClassName() |
void |
readFields(DataInput in) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
String |
toString() |
void |
write(DataOutput out) |
public HiveInputFormat.HiveInputSplit()
public HiveInputFormat.HiveInputSplit(org.apache.hadoop.mapred.InputSplit inputSplit,
String inputFormatClassName)
public org.apache.hadoop.mapred.InputSplit getInputSplit()
public String inputFormatClassName()
public org.apache.hadoop.fs.Path getPath()
getPath in class org.apache.hadoop.mapred.FileSplitpublic long getStart()
getStart in class org.apache.hadoop.mapred.FileSplitpublic String toString()
toString in class org.apache.hadoop.mapred.FileSplitpublic long getLength()
getLength in interface org.apache.hadoop.mapred.InputSplitgetLength in class org.apache.hadoop.mapred.FileSplitpublic String[] getLocations() throws IOException
getLocations in interface org.apache.hadoop.mapred.InputSplitgetLocations in class org.apache.hadoop.mapred.FileSplitIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class org.apache.hadoop.mapred.FileSplitIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class org.apache.hadoop.mapred.FileSplitIOExceptionpublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2017 The Apache Software Foundation. All rights reserved.