|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.plan.api.Graph
public class Graph
Nested Class Summary | |
---|---|
static class |
Graph._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<Graph._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
Graph()
|
|
Graph(Graph other)
Performs a deep copy on other. |
|
Graph(NodeType nodeType,
List<String> roots,
List<Adjacency> adjacencyList)
|
Method Summary | |
---|---|
void |
addToAdjacencyList(Adjacency elem)
|
void |
addToRoots(String elem)
|
void |
clear()
|
int |
compareTo(Graph other)
|
Graph |
deepCopy()
|
boolean |
equals(Graph that)
|
boolean |
equals(Object that)
|
Graph._Fields |
fieldForId(int fieldId)
|
List<Adjacency> |
getAdjacencyList()
|
Iterator<Adjacency> |
getAdjacencyListIterator()
|
int |
getAdjacencyListSize()
|
Object |
getFieldValue(Graph._Fields field)
|
NodeType |
getNodeType()
|
List<String> |
getRoots()
|
Iterator<String> |
getRootsIterator()
|
int |
getRootsSize()
|
int |
hashCode()
|
boolean |
isSet(Graph._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetAdjacencyList()
Returns true if field adjacencyList is set (has been asigned a value) and false otherwise |
boolean |
isSetNodeType()
Returns true if field nodeType is set (has been asigned a value) and false otherwise |
boolean |
isSetRoots()
Returns true if field roots is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setAdjacencyList(List<Adjacency> adjacencyList)
|
void |
setAdjacencyListIsSet(boolean value)
|
void |
setFieldValue(Graph._Fields field,
Object value)
|
void |
setNodeType(NodeType nodeType)
|
void |
setNodeTypeIsSet(boolean value)
|
void |
setRoots(List<String> roots)
|
void |
setRootsIsSet(boolean value)
|
String |
toString()
|
void |
unsetAdjacencyList()
|
void |
unsetNodeType()
|
void |
unsetRoots()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Map<Graph._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public Graph()
public Graph(NodeType nodeType, List<String> roots, List<Adjacency> adjacencyList)
public Graph(Graph other)
Method Detail |
---|
public Graph deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Graph,Graph._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Graph,Graph._Fields>
public NodeType getNodeType()
NodeType
public void setNodeType(NodeType nodeType)
NodeType
public void unsetNodeType()
public boolean isSetNodeType()
public void setNodeTypeIsSet(boolean value)
public int getRootsSize()
public Iterator<String> getRootsIterator()
public void addToRoots(String elem)
public List<String> getRoots()
public void setRoots(List<String> roots)
public void unsetRoots()
public boolean isSetRoots()
public void setRootsIsSet(boolean value)
public int getAdjacencyListSize()
public Iterator<Adjacency> getAdjacencyListIterator()
public void addToAdjacencyList(Adjacency elem)
public List<Adjacency> getAdjacencyList()
public void setAdjacencyList(List<Adjacency> adjacencyList)
public void unsetAdjacencyList()
public boolean isSetAdjacencyList()
public void setAdjacencyListIsSet(boolean value)
public void setFieldValue(Graph._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Graph,Graph._Fields>
public Object getFieldValue(Graph._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Graph,Graph._Fields>
public boolean isSet(Graph._Fields field)
isSet
in interface org.apache.thrift.TBase<Graph,Graph._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(Graph that)
public int hashCode()
hashCode
in class Object
public int compareTo(Graph other)
compareTo
in interface Comparable<Graph>
public Graph._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Graph,Graph._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Graph,Graph._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<Graph,Graph._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |