@InterfaceAudience.Public
@InterfaceStability.Evolving
public class TezGroupedSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable, org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
TezGroupedSplit() |
TezGroupedSplit(int numSplits,
String wrappedInputFormatName,
String[] locations) |
TezGroupedSplit(int numSplits,
String wrappedInputFormatName,
String[] locations,
String rack) |
TezGroupedSplit(List<org.apache.hadoop.mapreduce.InputSplit> wrappedSplits,
String wrappedInputFormatName,
String[] locations,
String rack,
long length) |
Modifier and Type | Method and Description |
---|---|
void |
addSplit(org.apache.hadoop.mapreduce.InputSplit split) |
org.apache.hadoop.conf.Configuration |
getConf() |
List<org.apache.hadoop.mapreduce.InputSplit> |
getGroupedSplits() |
long |
getLength() |
String[] |
getLocations() |
String |
getRack() |
void |
readFields(DataInput in) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
String |
toString() |
void |
write(DataOutput out) |
@InterfaceAudience.Private public TezGroupedSplit()
@InterfaceAudience.Private public TezGroupedSplit(List<org.apache.hadoop.mapreduce.InputSplit> wrappedSplits, String wrappedInputFormatName, String[] locations, String rack, long length)
public TezGroupedSplit(int numSplits, String wrappedInputFormatName, String[] locations, String rack)
public void addSplit(org.apache.hadoop.mapreduce.InputSplit split)
public List<org.apache.hadoop.mapreduce.InputSplit> getGroupedSplits()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public long getLength() throws IOException, InterruptedException
getLength
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
public String[] getLocations() throws IOException, InterruptedException
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public String getRack()
Copyright © 2016 Apache Software Foundation. All rights reserved.