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.IOReadableWritable
write
in class eu.stratosphere.core.io.GenericInputSplit
java.io.IOException
public void read(java.io.DataInput in) throws java.io.IOException
read
in interface eu.stratosphere.core.io.IOReadableWritable
read
in class eu.stratosphere.core.io.GenericInputSplit
java.io.IOException
public java.lang.String toString()
toString
in class eu.stratosphere.core.io.GenericInputSplit