org.apache.hadoop.hive.metastore.api
Class Order

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

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

See Also:
Serialized Form

Nested Class Summary
static class Order._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Order._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
Order()
           
Order(Order other)
          Performs a deep copy on other.
Order(String col, int order)
           
 
Method Summary
 void clear()
           
 int compareTo(Order other)
           
 Order deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(Order that)
           
 Order._Fields fieldForId(int fieldId)
           
 String getCol()
           
 Object getFieldValue(Order._Fields field)
           
 int getOrder()
           
 int hashCode()
           
 boolean isSet(Order._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCol()
          Returns true if field col is set (has been assigned a value) and false otherwise
 boolean isSetOrder()
          Returns true if field order is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setCol(String col)
           
 void setColIsSet(boolean value)
           
 void setFieldValue(Order._Fields field, Object value)
           
 void setOrder(int order)
           
 void setOrderIsSet(boolean value)
           
 String toString()
           
 void unsetCol()
           
 void unsetOrder()
           
 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<Order._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

Order

public Order()

Order

public Order(String col,
             int order)

Order

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

Method Detail

deepCopy

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

clear

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

getCol

public String getCol()

setCol

public void setCol(String col)

unsetCol

public void unsetCol()

isSetCol

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


setColIsSet

public void setColIsSet(boolean value)

getOrder

public int getOrder()

setOrder

public void setOrder(int order)

unsetOrder

public void unsetOrder()

isSetOrder

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


setOrderIsSet

public void setOrderIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(Order._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<Order,Order._Fields>

equals

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

equals

public boolean equals(Order that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public Order._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<Order,Order._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<Order,Order._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<Order,Order._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