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

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

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

See Also:
Serialized Form

Nested Class Summary
static class ThriftHiveMetastore.add_partition_with_environment_context_result._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<ThriftHiveMetastore.add_partition_with_environment_context_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
ThriftHiveMetastore.add_partition_with_environment_context_result()
           
ThriftHiveMetastore.add_partition_with_environment_context_result(Partition success, InvalidObjectException o1, AlreadyExistsException o2, MetaException o3)
           
ThriftHiveMetastore.add_partition_with_environment_context_result(ThriftHiveMetastore.add_partition_with_environment_context_result other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(ThriftHiveMetastore.add_partition_with_environment_context_result other)
           
 ThriftHiveMetastore.add_partition_with_environment_context_result deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(ThriftHiveMetastore.add_partition_with_environment_context_result that)
           
 ThriftHiveMetastore.add_partition_with_environment_context_result._Fields fieldForId(int fieldId)
           
 Object getFieldValue(ThriftHiveMetastore.add_partition_with_environment_context_result._Fields field)
           
 InvalidObjectException getO1()
           
 AlreadyExistsException getO2()
           
 MetaException getO3()
           
 Partition getSuccess()
           
 int hashCode()
           
 boolean isSet(ThriftHiveMetastore.add_partition_with_environment_context_result._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetO1()
          Returns true if field o1 is set (has been assigned a value) and false otherwise
 boolean isSetO2()
          Returns true if field o2 is set (has been assigned a value) and false otherwise
 boolean isSetO3()
          Returns true if field o3 is set (has been assigned a value) and false otherwise
 boolean isSetSuccess()
          Returns true if field success is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(ThriftHiveMetastore.add_partition_with_environment_context_result._Fields field, Object value)
           
 void setO1(InvalidObjectException o1)
           
 void setO1IsSet(boolean value)
           
 void setO2(AlreadyExistsException o2)
           
 void setO2IsSet(boolean value)
           
 void setO3(MetaException o3)
           
 void setO3IsSet(boolean value)
           
 void setSuccess(Partition success)
           
 void setSuccessIsSet(boolean value)
           
 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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

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

ThriftHiveMetastore.add_partition_with_environment_context_result

public ThriftHiveMetastore.add_partition_with_environment_context_result()

ThriftHiveMetastore.add_partition_with_environment_context_result

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

ThriftHiveMetastore.add_partition_with_environment_context_result

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

Method Detail

deepCopy

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

clear

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

getSuccess

public Partition getSuccess()

setSuccess

public void setSuccess(Partition success)

unsetSuccess

public void unsetSuccess()

isSetSuccess

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


setSuccessIsSet

public void setSuccessIsSet(boolean value)

getO1

public InvalidObjectException getO1()

setO1

public void setO1(InvalidObjectException o1)

unsetO1

public void unsetO1()

isSetO1

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


setO1IsSet

public void setO1IsSet(boolean value)

getO2

public AlreadyExistsException getO2()

setO2

public void setO2(AlreadyExistsException o2)

unsetO2

public void unsetO2()

isSetO2

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


setO2IsSet

public void setO2IsSet(boolean value)

getO3

public MetaException getO3()

setO3

public void setO3(MetaException o3)

unsetO3

public void unsetO3()

isSetO3

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


setO3IsSet

public void setO3IsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

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

equals

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

equals

public boolean equals(ThriftHiveMetastore.add_partition_with_environment_context_result that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(ThriftHiveMetastore.add_partition_with_environment_context_result other)
Specified by:
compareTo in interface Comparable<ThriftHiveMetastore.add_partition_with_environment_context_result>

fieldForId

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