org.apache.hadoop.hive.ql.plan.api
Class Adjacency

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.api.Adjacency
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Adjacency>, org.apache.thrift.TBase<Adjacency,Adjacency._Fields>

public class Adjacency
extends Object
implements org.apache.thrift.TBase<Adjacency,Adjacency._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class Adjacency._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Adjacency._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
Adjacency()
           
Adjacency(Adjacency other)
          Performs a deep copy on other.
Adjacency(String node, List<String> children, AdjacencyType adjacencyType)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

public static final Map<Adjacency._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

Adjacency

public Adjacency()

Adjacency

public Adjacency(String node,
                 List<String> children,
                 AdjacencyType adjacencyType)

Adjacency

public Adjacency(Adjacency other)
Performs a deep copy on other.

Method Detail

deepCopy

public Adjacency deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>

getNode

public String getNode()

setNode

public void setNode(String node)

unsetNode

public void unsetNode()

isSetNode

public boolean isSetNode()
Returns true if field node is set (has been assigned a value) and false otherwise


setNodeIsSet

public void setNodeIsSet(boolean value)

getChildrenSize

public int getChildrenSize()

getChildrenIterator

public Iterator<String> getChildrenIterator()

addToChildren

public void addToChildren(String elem)

getChildren

public List<String> getChildren()

setChildren

public void setChildren(List<String> children)

unsetChildren

public void unsetChildren()

isSetChildren

public boolean isSetChildren()
Returns true if field children is set (has been assigned a value) and false otherwise


setChildrenIsSet

public void setChildrenIsSet(boolean value)

getAdjacencyType

public AdjacencyType getAdjacencyType()
See Also:
AdjacencyType

setAdjacencyType

public void setAdjacencyType(AdjacencyType adjacencyType)
See Also:
AdjacencyType

unsetAdjacencyType

public void unsetAdjacencyType()

isSetAdjacencyType

public boolean isSetAdjacencyType()
Returns true if field adjacencyType is set (has been assigned a value) and false otherwise


setAdjacencyTypeIsSet

public void setAdjacencyTypeIsSet(boolean value)

setFieldValue

public void setFieldValue(Adjacency._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>

getFieldValue

public Object getFieldValue(Adjacency._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>

isSet

public boolean isSet(Adjacency._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(Adjacency that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Adjacency other)
Specified by:
compareTo in interface Comparable<Adjacency>

fieldForId

public Adjacency._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<Adjacency,Adjacency._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2012 The Apache Software Foundation