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, org.apache.thrift.TBase

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

See Also:
Serialized Form

Field Summary
static int COL
           
static Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
static int ORDER
           
 
Constructor Summary
Order()
           
Order(Order other)
          Performs a deep copy on other.
Order(String col, int order)
           
 
Method Summary
 Order clone()
           
 boolean equals(Object that)
           
 boolean equals(Order that)
           
 String getCol()
           
 Object getFieldValue(int fieldID)
           
 int getOrder()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSetCol()
           
 boolean isSetOrder()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setCol(String col)
           
 void setFieldValue(int fieldID, Object value)
           
 void setOrder(int order)
           
 String toString()
           
 void unsetCol()
           
 void unsetOrder()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COL

public static final int COL
See Also:
Constant Field Values

ORDER

public static final int ORDER
See Also:
Constant Field Values

metaDataMap

public static final Map<Integer,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

clone

public Order clone()
Overrides:
clone in class Object

getCol

public String getCol()

setCol

public void setCol(String col)

unsetCol

public void unsetCol()

isSetCol

public boolean isSetCol()

getOrder

public int getOrder()

setOrder

public void setOrder(int order)

unsetOrder

public void unsetOrder()

isSetOrder

public boolean isSetOrder()

setFieldValue

public void setFieldValue(int fieldID,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase

getFieldValue

public Object getFieldValue(int fieldID)
Specified by:
getFieldValue in interface org.apache.thrift.TBase

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase

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

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase
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
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 © 2009 The Apache Software Foundation