|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.df.mapred.inmem.InMemInputFormat.InMemInputSplit
public static class InMemInputFormat.InMemInputSplit
Custom InputSplit that indicates how many trees are built by each mapper
Constructor Summary | |
---|---|
InMemInputFormat.InMemInputSplit()
|
|
InMemInputFormat.InMemInputSplit(int firstId,
int nbTrees,
java.lang.Long seed)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getFirstId()
Return the Id of the first tree of this split |
long |
getLength()
|
java.lang.String[] |
getLocations()
|
int |
getNbTrees()
Return the number of trees |
java.lang.Long |
getSeed()
Return the random seed |
int |
hashCode()
|
static InMemInputFormat.InMemInputSplit |
read(java.io.DataInput in)
|
void |
readFields(java.io.DataInput in)
|
java.lang.String |
toString()
|
void |
write(java.io.DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InMemInputFormat.InMemInputSplit()
public InMemInputFormat.InMemInputSplit(int firstId, int nbTrees, java.lang.Long seed)
Method Detail |
---|
public int getFirstId()
public int getNbTrees()
public java.lang.Long getSeed()
public long getLength() throws java.io.IOException
getLength
in interface org.apache.hadoop.mapred.InputSplit
java.io.IOException
public java.lang.String[] getLocations() throws java.io.IOException
getLocations
in interface org.apache.hadoop.mapred.InputSplit
java.io.IOException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public static InMemInputFormat.InMemInputSplit read(java.io.DataInput in) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |