org.apache.hadoop.mapred.split
Class TezGroupedSplit
java.lang.Object
org.apache.hadoop.mapred.split.TezGroupedSplit
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.Writable, org.apache.hadoop.mapred.InputSplit
public class TezGroupedSplit
- extends Object
- implements org.apache.hadoop.mapred.InputSplit, org.apache.hadoop.conf.Configurable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TezGroupedSplit
public TezGroupedSplit()
TezGroupedSplit
public TezGroupedSplit(int numSplits,
String wrappedInputFormatName,
String[] locations,
String rack)
TezGroupedSplit
public TezGroupedSplit(int numSplits,
String wrappedInputFormatName,
String[] locations)
addSplit
public void addSplit(org.apache.hadoop.mapred.InputSplit split)
write
public void write(DataOutput out)
throws IOException
- Specified by:
write in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields in interface org.apache.hadoop.io.Writable
- Throws:
IOException
getLength
public long getLength()
throws IOException
- Specified by:
getLength in interface org.apache.hadoop.mapred.InputSplit
- Throws:
IOException
getLocations
public String[] getLocations()
throws IOException
- Specified by:
getLocations in interface org.apache.hadoop.mapred.InputSplit
- Throws:
IOException
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf in interface org.apache.hadoop.conf.Configurable
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConf in interface org.apache.hadoop.conf.Configurable
getRack
public String getRack()
Copyright © 2014 Apache Software Foundation. All rights reserved.