@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-06-22")
public class Node_thrift
extends java.lang.Object
implements org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.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 java.util.Map<Node_thrift._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.util.Map<java.lang.String,Edge_thrift> |
neighbors |
java.lang.String |
nodeId |
long |
TS |
| Constructor and Description |
|---|
Node_thrift() |
Node_thrift(Node_thrift other)
Performs a deep copy on other.
|
Node_thrift(java.lang.String nodeId,
long TS,
java.util.Map<java.lang.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(java.lang.Object that) |
Node_thrift._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(Node_thrift._Fields field) |
java.util.Map<java.lang.String,Edge_thrift> |
getNeighbors() |
int |
getNeighborsSize() |
java.lang.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(java.lang.String key,
Edge_thrift val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Node_thrift._Fields field,
java.lang.Object value) |
Node_thrift |
setNeighbors(java.util.Map<java.lang.String,Edge_thrift> neighbors) |
void |
setNeighborsIsSet(boolean value) |
Node_thrift |
setNodeId(java.lang.String nodeId) |
void |
setNodeIdIsSet(boolean value) |
Node_thrift |
setTS(long TS) |
void |
setTSIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetNeighbors() |
void |
unsetNodeId() |
void |
unsetTS() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.lang.String nodeId
public long TS
public java.util.Map<java.lang.String,Edge_thrift> neighbors
public static final java.util.Map<Node_thrift._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Node_thrift()
public Node_thrift(java.lang.String nodeId,
long TS,
java.util.Map<java.lang.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 java.lang.String getNodeId()
public Node_thrift setNodeId(java.lang.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(java.lang.String key,
Edge_thrift val)
public java.util.Map<java.lang.String,Edge_thrift> getNeighbors()
public Node_thrift setNeighbors(java.util.Map<java.lang.String,Edge_thrift> neighbors)
public void unsetNeighbors()
public boolean isSetNeighbors()
public void setNeighborsIsSet(boolean value)
public void setFieldValue(Node_thrift._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<Node_thrift,Node_thrift._Fields>public java.lang.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(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(Node_thrift that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Node_thrift other)
compareTo in interface java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException