public static class InMemInputFormat.InMemInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
InMemInputSplit() |
InMemInputSplit(int firstId,
int nbTrees,
Long seed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getFirstId() |
long |
getLength() |
String[] |
getLocations() |
int |
getNbTrees() |
Long |
getSeed() |
int |
hashCode() |
static InMemInputFormat.InMemInputSplit |
read(DataInput in) |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public InMemInputSplit()
public InMemInputSplit(int firstId,
int nbTrees,
Long seed)
public int getFirstId()
public int getNbTrees()
public Long getSeed()
public long getLength()
throws IOException
getLength in class org.apache.hadoop.mapreduce.InputSplitIOExceptionpublic String[] getLocations() throws IOException
getLocations in class org.apache.hadoop.mapreduce.InputSplitIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic static InMemInputFormat.InMemInputSplit read(DataInput in) throws IOException
IOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.