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

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

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

See Also:
Serialized Form

Nested Class Summary
static class ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
ThriftHiveMetastore.alter_partition_with_environment_context_args()
           
ThriftHiveMetastore.alter_partition_with_environment_context_args(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context)
           
ThriftHiveMetastore.alter_partition_with_environment_context_args(ThriftHiveMetastore.alter_partition_with_environment_context_args other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(ThriftHiveMetastore.alter_partition_with_environment_context_args other)
           
 ThriftHiveMetastore.alter_partition_with_environment_context_args deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(ThriftHiveMetastore.alter_partition_with_environment_context_args that)
           
 ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields fieldForId(int fieldId)
           
 String getDb_name()
           
 EnvironmentContext getEnvironment_context()
           
 Object getFieldValue(ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields field)
           
 Partition getNew_part()
           
 String getTbl_name()
           
 int hashCode()
           
 boolean isSet(ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetDb_name()
          Returns true if field db_name is set (has been assigned a value) and false otherwise
 boolean isSetEnvironment_context()
          Returns true if field environment_context is set (has been assigned a value) and false otherwise
 boolean isSetNew_part()
          Returns true if field new_part is set (has been assigned a value) and false otherwise
 boolean isSetTbl_name()
          Returns true if field tbl_name is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setDb_name(String db_name)
           
 void setDb_nameIsSet(boolean value)
           
 void setEnvironment_context(EnvironmentContext environment_context)
           
 void setEnvironment_contextIsSet(boolean value)
           
 void setFieldValue(ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields field, Object value)
           
 void setNew_part(Partition new_part)
           
 void setNew_partIsSet(boolean value)
           
 void setTbl_name(String tbl_name)
           
 void setTbl_nameIsSet(boolean value)
           
 String toString()
           
 void unsetDb_name()
           
 void unsetEnvironment_context()
           
 void unsetNew_part()
           
 void unsetTbl_name()
           
 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.alter_partition_with_environment_context_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

ThriftHiveMetastore.alter_partition_with_environment_context_args

public ThriftHiveMetastore.alter_partition_with_environment_context_args()

ThriftHiveMetastore.alter_partition_with_environment_context_args

public ThriftHiveMetastore.alter_partition_with_environment_context_args(String db_name,
                                                                         String tbl_name,
                                                                         Partition new_part,
                                                                         EnvironmentContext environment_context)

ThriftHiveMetastore.alter_partition_with_environment_context_args

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

Method Detail

deepCopy

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

clear

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

getDb_name

public String getDb_name()

setDb_name

public void setDb_name(String db_name)

unsetDb_name

public void unsetDb_name()

isSetDb_name

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


setDb_nameIsSet

public void setDb_nameIsSet(boolean value)

getTbl_name

public String getTbl_name()

setTbl_name

public void setTbl_name(String tbl_name)

unsetTbl_name

public void unsetTbl_name()

isSetTbl_name

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


setTbl_nameIsSet

public void setTbl_nameIsSet(boolean value)

getNew_part

public Partition getNew_part()

setNew_part

public void setNew_part(Partition new_part)

unsetNew_part

public void unsetNew_part()

isSetNew_part

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


setNew_partIsSet

public void setNew_partIsSet(boolean value)

getEnvironment_context

public EnvironmentContext getEnvironment_context()

setEnvironment_context

public void setEnvironment_context(EnvironmentContext environment_context)

unsetEnvironment_context

public void unsetEnvironment_context()

isSetEnvironment_context

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


setEnvironment_contextIsSet

public void setEnvironment_contextIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

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

equals

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

equals

public boolean equals(ThriftHiveMetastore.alter_partition_with_environment_context_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

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