public class TokenInputSplit extends eu.stratosphere.core.io.GenericInputSplit
| Constructor and Description |
|---|
TokenInputSplit()
A constructor that takes no arguments is required.
|
TokenInputSplit(int i,
Token token)
Create a new TokenInputSplit.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
getToken()
Get the token.
|
void |
read(java.io.DataInput in)
Read a token from the input stream.
|
java.lang.String |
toString()
Get a string representation of this split.
|
void |
write(java.io.DataOutput out)
Write the token to the output stream.
|
public TokenInputSplit()
public TokenInputSplit(int i, Token token)
i - the split number.token - the token.public void write(java.io.DataOutput out) throws java.io.IOException
write in interface eu.stratosphere.core.io.IOReadableWritablewrite in class eu.stratosphere.core.io.GenericInputSplitjava.io.IOExceptionpublic void read(java.io.DataInput in) throws java.io.IOException
read in interface eu.stratosphere.core.io.IOReadableWritableread in class eu.stratosphere.core.io.GenericInputSplitjava.io.IOExceptionpublic java.lang.String toString()
toString in class eu.stratosphere.core.io.GenericInputSplit