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

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

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

See Also:
Serialized Form

Nested Class Summary
static class ThriftHiveMetastore.exchange_partition_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<ThriftHiveMetastore.exchange_partition_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
ThriftHiveMetastore.exchange_partition_args()
           
ThriftHiveMetastore.exchange_partition_args(Map<String,String> partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name)
           
ThriftHiveMetastore.exchange_partition_args(ThriftHiveMetastore.exchange_partition_args other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(ThriftHiveMetastore.exchange_partition_args other)
           
 ThriftHiveMetastore.exchange_partition_args deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(ThriftHiveMetastore.exchange_partition_args that)
           
 ThriftHiveMetastore.exchange_partition_args._Fields fieldForId(int fieldId)
           
 String getDest_db()
           
 String getDest_table_name()
           
 Object getFieldValue(ThriftHiveMetastore.exchange_partition_args._Fields field)
           
 Map<String,String> getPartitionSpecs()
           
 int getPartitionSpecsSize()
           
 String getSource_db()
           
 String getSource_table_name()
           
 int hashCode()
           
 boolean isSet(ThriftHiveMetastore.exchange_partition_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetDest_db()
          Returns true if field dest_db is set (has been assigned a value) and false otherwise
 boolean isSetDest_table_name()
          Returns true if field dest_table_name is set (has been assigned a value) and false otherwise
 boolean isSetPartitionSpecs()
          Returns true if field partitionSpecs is set (has been assigned a value) and false otherwise
 boolean isSetSource_db()
          Returns true if field source_db is set (has been assigned a value) and false otherwise
 boolean isSetSource_table_name()
          Returns true if field source_table_name is set (has been assigned a value) and false otherwise
 void putToPartitionSpecs(String key, String val)
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setDest_db(String dest_db)
           
 void setDest_dbIsSet(boolean value)
           
 void setDest_table_name(String dest_table_name)
           
 void setDest_table_nameIsSet(boolean value)
           
 void setFieldValue(ThriftHiveMetastore.exchange_partition_args._Fields field, Object value)
           
 void setPartitionSpecs(Map<String,String> partitionSpecs)
           
 void setPartitionSpecsIsSet(boolean value)
           
 void setSource_db(String source_db)
           
 void setSource_dbIsSet(boolean value)
           
 void setSource_table_name(String source_table_name)
           
 void setSource_table_nameIsSet(boolean value)
           
 String toString()
           
 void unsetDest_db()
           
 void unsetDest_table_name()
           
 void unsetPartitionSpecs()
           
 void unsetSource_db()
           
 void unsetSource_table_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.exchange_partition_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

ThriftHiveMetastore.exchange_partition_args

public ThriftHiveMetastore.exchange_partition_args()

ThriftHiveMetastore.exchange_partition_args

public ThriftHiveMetastore.exchange_partition_args(Map<String,String> partitionSpecs,
                                                   String source_db,
                                                   String source_table_name,
                                                   String dest_db,
                                                   String dest_table_name)

ThriftHiveMetastore.exchange_partition_args

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

Method Detail

deepCopy

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

clear

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

getPartitionSpecsSize

public int getPartitionSpecsSize()

putToPartitionSpecs

public void putToPartitionSpecs(String key,
                                String val)

getPartitionSpecs

public Map<String,String> getPartitionSpecs()

setPartitionSpecs

public void setPartitionSpecs(Map<String,String> partitionSpecs)

unsetPartitionSpecs

public void unsetPartitionSpecs()

isSetPartitionSpecs

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


setPartitionSpecsIsSet

public void setPartitionSpecsIsSet(boolean value)

getSource_db

public String getSource_db()

setSource_db

public void setSource_db(String source_db)

unsetSource_db

public void unsetSource_db()

isSetSource_db

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


setSource_dbIsSet

public void setSource_dbIsSet(boolean value)

getSource_table_name

public String getSource_table_name()

setSource_table_name

public void setSource_table_name(String source_table_name)

unsetSource_table_name

public void unsetSource_table_name()

isSetSource_table_name

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


setSource_table_nameIsSet

public void setSource_table_nameIsSet(boolean value)

getDest_db

public String getDest_db()

setDest_db

public void setDest_db(String dest_db)

unsetDest_db

public void unsetDest_db()

isSetDest_db

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


setDest_dbIsSet

public void setDest_dbIsSet(boolean value)

getDest_table_name

public String getDest_table_name()

setDest_table_name

public void setDest_table_name(String dest_table_name)

unsetDest_table_name

public void unsetDest_table_name()

isSetDest_table_name

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


setDest_table_nameIsSet

public void setDest_table_nameIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

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

equals

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

equals

public boolean equals(ThriftHiveMetastore.exchange_partition_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

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