| Constructor and Description |
|---|
BytableWrapper() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
String |
getContainerId() |
int |
getCurrentIteration() |
boolean |
isStopMessage() |
void |
readFields(DataInput in)
De-serialize the fields of this object from
in. |
void |
setBytes(byte[] bytes) |
void |
setContainerId(String containerId) |
void |
setCurrentIteration(int currentIteration) |
void |
setStopMessage(boolean isStopMessage) |
String |
toString() |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
public int getCurrentIteration()
public void setCurrentIteration(int currentIteration)
currentIteration - the currentIteration to setpublic String getContainerId()
public void setContainerId(String containerId)
containerId - the containerId to setpublic boolean isStopMessage()
public void setStopMessage(boolean isStopMessage)
isStopMessage - the isStopMessage to setpublic byte[] getBytes()
public void setBytes(byte[] bytes)
bytes - the bytes to setpublic void write(DataOutput out) throws IOException
Bytableout.write in interface Bytableout - DataOuput to serialize this object into.IOException - In case of any io exception.public void readFields(DataInput in) throws IOException
Bytablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Bytablein - DataInput to de-seriablize this object from.IOException - In case of any io exception.Copyright © 2015. All Rights Reserved.