org.apache.hadoop.mapreduce.split
Class TezGroupedSplit

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by org.apache.hadoop.mapreduce.split.TezGroupedSplit
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.Writable

public class TezGroupedSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable, org.apache.hadoop.conf.Configurable


Constructor Summary
TezGroupedSplit()
           
TezGroupedSplit(int numSplits, String wrappedInputFormatName, String[] locations)
           
TezGroupedSplit(int numSplits, String wrappedInputFormatName, String[] locations, String rack)
           
 
Method Summary
 void addSplit(org.apache.hadoop.mapreduce.InputSplit split)
           
 org.apache.hadoop.conf.Configuration getConf()
           
 long getLength()
           
 String[] getLocations()
           
 String getRack()
           
 void readFields(DataInput in)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TezGroupedSplit

public TezGroupedSplit()

TezGroupedSplit

public TezGroupedSplit(int numSplits,
                       String wrappedInputFormatName,
                       String[] locations,
                       String rack)

TezGroupedSplit

public TezGroupedSplit(int numSplits,
                       String wrappedInputFormatName,
                       String[] locations)
Method Detail

addSplit

public void addSplit(org.apache.hadoop.mapreduce.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,
                      InterruptedException
Specified by:
getLength in class org.apache.hadoop.mapreduce.InputSplit
Throws:
IOException
InterruptedException

getLocations

public String[] getLocations()
                      throws IOException,
                             InterruptedException
Specified by:
getLocations in class org.apache.hadoop.mapreduce.InputSplit
Throws:
IOException
InterruptedException

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.