org.apache.spark.scheduler
Class SplitInfo

Object
  extended by org.apache.spark.scheduler.SplitInfo

public class SplitInfo
extends Object


Constructor Summary
SplitInfo(Class<?> inputFormatClazz, String hostLocation, String path, long length, Object underlyingSplit)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String hostLocation()
           
 Object inputFormatClazz()
           
 long length()
           
 String path()
           
static scala.collection.Seq<SplitInfo> toSplitInfo(Class<?> inputFormatClazz, String path, org.apache.hadoop.mapred.InputSplit mapredSplit)
           
static scala.collection.Seq<SplitInfo> toSplitInfo(Class<?> inputFormatClazz, String path, org.apache.hadoop.mapreduce.InputSplit mapreduceSplit)
           
 String toString()
           
 Object underlyingSplit()
           
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SplitInfo

public SplitInfo(Class<?> inputFormatClazz,
                 String hostLocation,
                 String path,
                 long length,
                 Object underlyingSplit)
Method Detail

toSplitInfo

public static scala.collection.Seq<SplitInfo> toSplitInfo(Class<?> inputFormatClazz,
                                                          String path,
                                                          org.apache.hadoop.mapred.InputSplit mapredSplit)

toSplitInfo

public static scala.collection.Seq<SplitInfo> toSplitInfo(Class<?> inputFormatClazz,
                                                          String path,
                                                          org.apache.hadoop.mapreduce.InputSplit mapreduceSplit)

inputFormatClazz

public Object inputFormatClazz()

hostLocation

public String hostLocation()

path

public String path()

length

public long length()

underlyingSplit

public Object underlyingSplit()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object