org.apache.hadoop.hive.ql.io
Class HiveInputFormat.HiveInputSplit
java.lang.Object
FileSplit
org.apache.hadoop.hive.ql.io.HiveInputFormat.HiveInputSplit
- Direct Known Subclasses:
- BucketizedHiveInputSplit
- Enclosing class:
- HiveInputFormat<K extends WritableComparable,V extends Writable>
public static class HiveInputFormat.HiveInputSplit
- extends FileSplit
HiveInputSplit encapsulates an InputSplit with its corresponding
inputFormatClass. The reason that it derives from FileSplit is to make sure
"map.input.file" in MapTask.
HiveInputFormat.HiveInputSplit
public HiveInputFormat.HiveInputSplit()
HiveInputFormat.HiveInputSplit
public HiveInputFormat.HiveInputSplit(InputSplit inputSplit,
String inputFormatClassName)
getInputSplit
public InputSplit getInputSplit()
inputFormatClassName
public String inputFormatClassName()
getPath
public Path getPath()
getStart
public long getStart()
- The position of the first byte in the file to process.
toString
public String toString()
getLength
public long getLength()
getLocations
public String[] getLocations()
throws IOException
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Throws:
IOException
getConf
public Configuration getConf()
setConf
public void setConf(Configuration conf)
Copyright © 2012 The Apache Software Foundation