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.FileSplit
public long getStart()
getStart
in class org.apache.hadoop.mapred.FileSplit
public String toString()
toString
in class org.apache.hadoop.mapred.FileSplit
public long getLength()
getLength
in interface org.apache.hadoop.mapred.InputSplit
getLength
in class org.apache.hadoop.mapred.FileSplit
public String[] getLocations() throws IOException
getLocations
in interface org.apache.hadoop.mapred.InputSplit
getLocations
in class org.apache.hadoop.mapred.FileSplit
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class org.apache.hadoop.mapred.FileSplit
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class org.apache.hadoop.mapred.FileSplit
IOException
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2017 The Apache Software Foundation. All rights reserved.