public class Node_thrift extends Object implements org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>, Serializable, Cloneable, Comparable<Node_thrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
Node_thrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<Node_thrift._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Map<String,Edge_thrift> |
neighbors |
String |
nodeId |
long |
TS |
| Constructor and Description |
|---|
Node_thrift() |
Node_thrift(Node_thrift other)
Performs a deep copy on other.
|
Node_thrift(String nodeId,
long TS,
Map<String,Edge_thrift> neighbors) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Node_thrift other) |
Node_thrift |
deepCopy() |
boolean |
equals(Node_thrift that) |
boolean |
equals(Object that) |
Node_thrift._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Node_thrift._Fields field) |
Map<String,Edge_thrift> |
getNeighbors() |
int |
getNeighborsSize() |
String |
getNodeId() |
long |
getTS() |
int |
hashCode() |
boolean |
isSet(Node_thrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetNeighbors()
Returns true if field neighbors is set (has been assigned a value) and false otherwise
|
boolean |
isSetNodeId()
Returns true if field nodeId is set (has been assigned a value) and false otherwise
|
boolean |
isSetTS()
Returns true if field TS is set (has been assigned a value) and false otherwise
|
void |
putToNeighbors(String key,
Edge_thrift val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Node_thrift._Fields field,
Object value) |
Node_thrift |
setNeighbors(Map<String,Edge_thrift> neighbors) |
void |
setNeighborsIsSet(boolean value) |
Node_thrift |
setNodeId(String nodeId) |
void |
setNodeIdIsSet(boolean value) |
Node_thrift |
setTS(long TS) |
void |
setTSIsSet(boolean value) |
String |
toString() |
void |
unsetNeighbors() |
void |
unsetNodeId() |
void |
unsetTS() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String nodeId
public long TS
public Map<String,Edge_thrift> neighbors
public static final Map<Node_thrift._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Node_thrift()
public Node_thrift(String nodeId, long TS, Map<String,Edge_thrift> neighbors)
public Node_thrift(Node_thrift other)
public Node_thrift deepCopy()
deepCopy in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>public String getNodeId()
public Node_thrift setNodeId(String nodeId)
public void unsetNodeId()
public boolean isSetNodeId()
public void setNodeIdIsSet(boolean value)
public long getTS()
public Node_thrift setTS(long TS)
public void unsetTS()
public boolean isSetTS()
public void setTSIsSet(boolean value)
public int getNeighborsSize()
public void putToNeighbors(String key, Edge_thrift val)
public Map<String,Edge_thrift> getNeighbors()
public Node_thrift setNeighbors(Map<String,Edge_thrift> neighbors)
public void unsetNeighbors()
public boolean isSetNeighbors()
public void setNeighborsIsSet(boolean value)
public void setFieldValue(Node_thrift._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>public Object getFieldValue(Node_thrift._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>public boolean isSet(Node_thrift._Fields field)
isSet in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>public boolean equals(Node_thrift that)
public int compareTo(Node_thrift other)
compareTo in interface Comparable<Node_thrift>public Node_thrift._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException