public static class TupleMemoryInputFormat.TupleInputSplit
extends java.lang.Object
implements org.apache.hadoop.mapred.InputSplit
| Modifier and Type | Field and Description |
|---|---|
int |
numTuples |
| Constructor and Description |
|---|
TupleInputSplit() |
TupleInputSplit(int numTuples) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
java.lang.String[] |
getLocations() |
void |
readFields(java.io.DataInput di) |
void |
write(java.io.DataOutput d) |
public TupleInputSplit()
public TupleInputSplit(int numTuples)
public long getLength()
throws java.io.IOException
getLength in interface org.apache.hadoop.mapred.InputSplitjava.io.IOExceptionpublic java.lang.String[] getLocations()
throws java.io.IOException
getLocations in interface org.apache.hadoop.mapred.InputSplitjava.io.IOExceptionpublic void write(java.io.DataOutput d)
throws java.io.IOException
write in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic void readFields(java.io.DataInput di)
throws java.io.IOException
readFields in interface org.apache.hadoop.io.Writablejava.io.IOException