public static class InMemInputFormat.InMemInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
InMemInputFormat.InMemInputSplit() |
InMemInputFormat.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 InMemInputFormat.InMemInputSplit()
public InMemInputFormat.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.InputSplit
IOException
public String[] getLocations() throws IOException
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public static InMemInputFormat.InMemInputSplit read(DataInput in) throws IOException
IOException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.