public class Adjacency extends Object implements org.apache.thrift.TBase<Adjacency,Adjacency._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Adjacency._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<Adjacency._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Adjacency() |
Adjacency(Adjacency other)
Performs a deep copy on other.
|
Adjacency(String node,
List<String> children,
AdjacencyType adjacencyType) |
Modifier and Type | Method and Description |
---|---|
void |
addToChildren(String elem) |
void |
clear() |
int |
compareTo(Adjacency other) |
Adjacency |
deepCopy() |
boolean |
equals(Adjacency that) |
boolean |
equals(Object that) |
Adjacency._Fields |
fieldForId(int fieldId) |
AdjacencyType |
getAdjacencyType() |
List<String> |
getChildren() |
Iterator<String> |
getChildrenIterator() |
int |
getChildrenSize() |
Object |
getFieldValue(Adjacency._Fields field) |
String |
getNode() |
int |
hashCode() |
boolean |
isSet(Adjacency._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAdjacencyType()
Returns true if field adjacencyType is set (has been assigned a value) and false otherwise
|
boolean |
isSetChildren()
Returns true if field children is set (has been assigned a value) and false otherwise
|
boolean |
isSetNode()
Returns true if field node is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setAdjacencyType(AdjacencyType adjacencyType) |
void |
setAdjacencyTypeIsSet(boolean value) |
void |
setChildren(List<String> children) |
void |
setChildrenIsSet(boolean value) |
void |
setFieldValue(Adjacency._Fields field,
Object value) |
void |
setNode(String node) |
void |
setNodeIsSet(boolean value) |
String |
toString() |
void |
unsetAdjacencyType() |
void |
unsetChildren() |
void |
unsetNode() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Adjacency._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Adjacency()
public Adjacency(String node, List<String> children, AdjacencyType adjacencyType)
public Adjacency(Adjacency other)
public Adjacency deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
public String getNode()
public void setNode(String node)
public void unsetNode()
public boolean isSetNode()
public void setNodeIsSet(boolean value)
public int getChildrenSize()
public void addToChildren(String elem)
public void unsetChildren()
public boolean isSetChildren()
public void setChildrenIsSet(boolean value)
public AdjacencyType getAdjacencyType()
AdjacencyType
public void setAdjacencyType(AdjacencyType adjacencyType)
AdjacencyType
public void unsetAdjacencyType()
public boolean isSetAdjacencyType()
public void setAdjacencyTypeIsSet(boolean value)
public void setFieldValue(Adjacency._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
public Object getFieldValue(Adjacency._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
public boolean isSet(Adjacency._Fields field)
isSet
in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
public boolean equals(Adjacency that)
public int compareTo(Adjacency other)
compareTo
in interface Comparable<Adjacency>
public Adjacency._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.