org.apache.hadoop.hive.metastore.api
Class ThriftHiveMetastore.add_partition_result

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.add_partition_result
All Implemented Interfaces:
Serializable, Cloneable, org.apache.thrift.TBase
Enclosing class:
ThriftHiveMetastore

public static class ThriftHiveMetastore.add_partition_result
extends Object
implements org.apache.thrift.TBase, Serializable, Cloneable

See Also:
Serialized Form

Field Summary
static Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
static int O1
           
static int O2
           
static int O3
           
static int SUCCESS
           
 
Constructor Summary
ThriftHiveMetastore.add_partition_result()
           
ThriftHiveMetastore.add_partition_result(Partition success, InvalidObjectException o1, AlreadyExistsException o2, MetaException o3)
           
ThriftHiveMetastore.add_partition_result(ThriftHiveMetastore.add_partition_result other)
          Performs a deep copy on other.
 
Method Summary
 ThriftHiveMetastore.add_partition_result clone()
           
 boolean equals(Object that)
           
 boolean equals(ThriftHiveMetastore.add_partition_result that)
           
 Object getFieldValue(int fieldID)
           
 InvalidObjectException getO1()
           
 AlreadyExistsException getO2()
           
 MetaException getO3()
           
 Partition getSuccess()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSetO1()
           
 boolean isSetO2()
           
 boolean isSetO3()
           
 boolean isSetSuccess()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(int fieldID, Object value)
           
 void setO1(InvalidObjectException o1)
           
 void setO2(AlreadyExistsException o2)
           
 void setO3(MetaException o3)
           
 void setSuccess(Partition success)
           
 String toString()
           
 void unsetO1()
           
 void unsetO2()
           
 void unsetO3()
           
 void unsetSuccess()
           
 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

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values

O1

public static final int O1
See Also:
Constant Field Values

O2

public static final int O2
See Also:
Constant Field Values

O3

public static final int O3
See Also:
Constant Field Values

metaDataMap

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

ThriftHiveMetastore.add_partition_result

public ThriftHiveMetastore.add_partition_result()

ThriftHiveMetastore.add_partition_result

public ThriftHiveMetastore.add_partition_result(Partition success,
                                                InvalidObjectException o1,
                                                AlreadyExistsException o2,
                                                MetaException o3)

ThriftHiveMetastore.add_partition_result

public ThriftHiveMetastore.add_partition_result(ThriftHiveMetastore.add_partition_result other)
Performs a deep copy on other.

Method Detail

clone

public ThriftHiveMetastore.add_partition_result clone()
Overrides:
clone in class Object

getSuccess

public Partition getSuccess()

setSuccess

public void setSuccess(Partition success)

unsetSuccess

public void unsetSuccess()

isSetSuccess

public boolean isSetSuccess()

getO1

public InvalidObjectException getO1()

setO1

public void setO1(InvalidObjectException o1)

unsetO1

public void unsetO1()

isSetO1

public boolean isSetO1()

getO2

public AlreadyExistsException getO2()

setO2

public void setO2(AlreadyExistsException o2)

unsetO2

public void unsetO2()

isSetO2

public boolean isSetO2()

getO3

public MetaException getO3()

setO3

public void setO3(MetaException o3)

unsetO3

public void unsetO3()

isSetO3

public boolean isSetO3()

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(ThriftHiveMetastore.add_partition_result 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 © 2010 The Apache Software Foundation