public class ResultObject extends Object implements Externalizable
| Modifier and Type | Field and Description |
|---|---|
String |
location |
Object |
node |
String |
nodeId |
int |
status |
String |
statuscode |
| Constructor and Description |
|---|
ResultObject() |
ResultObject(int status,
NodeData nodeData,
String nodeId,
String location) |
ResultObject(int status,
Node node,
String nodeId,
String location) |
ResultObject(NodeData nodeData,
String nodeId) |
ResultObject(NodeData nodeData,
String nodeId,
NodeMetadata m,
String s) |
ResultObject(NodeData nodeData,
String nodeId,
NodeMetadata m,
String s,
int stat) |
ResultObject(NodeData nodeData,
String nodeId,
String s) |
ResultObject(Node node,
String nodeId) |
ResultObject(Node node,
String nodeId,
NodeMetadata m,
String s) |
ResultObject(Node node,
String nodeId,
NodeMetadata m,
String s,
int stat) |
ResultObject(Node node,
String nodeId,
String s) |
ResultObject(ResultObject_thrift res_thrift,
HashMap<Byte,Class> nodeClassMap)
Constructs a Java representation of a Thrift ResultObject representation
|
ResultObject(String nodeId) |
ResultObject(String nodeId,
int status) |
ResultObject(String nodeId,
String location) |
ResultObject(String nodeId,
String s,
int stat) |
ResultObject(String nodeId,
String location,
Node node) |
ResultObject(String nodeId,
String location,
NodeData nodeData) |
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public int status
public String statuscode
public Object node
public String nodeId
public String location
public ResultObject()
public ResultObject(Node node, String nodeId)
node - The node this ResultObject is assigned tonodeId - The id of the node this ResultObject is assigned topublic ResultObject(NodeData nodeData, String nodeId)
nodeData - The NodeData this ResultObject is assigned tonodeId - The id of the node the nodeData is associated withpublic ResultObject(String nodeId, String location)
nodeId - The id of the node this ResultObject is assigned tolocation - The location of the node whose id is passed inpublic ResultObject(String nodeId, String location, Node node)
nodeId - The id of the node this ResultObject is assigned tolocation - The location of the node whose id is passed innode - The node this ResultObject is assigned topublic ResultObject(String nodeId, String location, NodeData nodeData)
nodeId - The id of the node the nodeData is associated withlocation - The location of the node whose id is passed innodeData - The NodeData this ResultObject is assigned topublic ResultObject(Node node, String nodeId, NodeMetadata m, String s)
node - The node this ResultObject is assigned tonodeId - The id of the node this ResultObject is assigned to.m - s - Constantspublic ResultObject(NodeData nodeData, String nodeId, NodeMetadata m, String s)
public ResultObject(Node node, String nodeId, String s)
node - The node this ResultObject is assigned tonodeId - The id of the node this ResultObject is assigned to.s - Constantspublic ResultObject(Node node, String nodeId, NodeMetadata m, String s, int stat)
node - The node this ResultObject is assigned tonodeId - The id of the node this ResultObject is assigned to.m - s - stat - Constantspublic ResultObject(NodeData nodeData, String nodeId, NodeMetadata m, String s, int stat)
public ResultObject(String nodeId, String s, int stat)
nodeId - The id of the node this ResultObject is assigned to.s - stat - Constantspublic ResultObject(String nodeId)
nodeId - The id of the node this ResultObject is assigned to.public ResultObject(String nodeId, int status)
nodeId - The id of the node this ResultObject is assigned to.status - public ResultObject(int status,
Node node,
String nodeId,
String location)
status - node - The node this ResultObject is assigned tonodeId - The id of the node this ResultObject is assigned to.location - The location of the node whose id is passed inConstantspublic ResultObject(ResultObject_thrift res_thrift, HashMap<Byte,Class> nodeClassMap)
res_thrift - The Thrift representation of a ResultObject that is to be convertednodeClassMap - public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOException