Package io.trino.hive.thrift.metastore
Class ThriftHiveMetastore.exchange_partition_args
java.lang.Object
io.trino.hive.thrift.metastore.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> org.apache.thrift.TSerializable
- 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, Comparable<ThriftHiveMetastore.exchange_partition_args>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ThriftHiveMetastore.exchange_partition_args._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intinthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field dest_db is set (has been assigned a value) and false otherwisebooleanReturns true if field dest_table_name is set (has been assigned a value) and false otherwisebooleanReturns true if field partitionSpecs is set (has been assigned a value) and false otherwisebooleanReturns true if field source_db is set (has been assigned a value) and false otherwisebooleanReturns true if field source_table_name is set (has been assigned a value) and false otherwisevoidputToPartitionSpecs(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) voidsetDestDbIsSet(boolean value) setDestTableName(String dest_table_name) voidsetDestTableNameIsSet(boolean value) voidsetPartitionSpecs(Map<String, String> partitionSpecs) voidsetPartitionSpecsIsSet(boolean value) setSourceDb(String source_db) voidsetSourceDbIsSet(boolean value) setSourceTableName(String source_table_name) voidsetSourceTableNameIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<ThriftHiveMetastore.exchange_partition_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
exchange_partition_args
public exchange_partition_args() -
exchange_partition_args
-
exchange_partition_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.exchange_partition_args,ThriftHiveMetastore.exchange_partition_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.exchange_partition_args,ThriftHiveMetastore.exchange_partition_args._Fields>
-
getPartitionSpecsSize
public int getPartitionSpecsSize() -
putToPartitionSpecs
-
getPartitionSpecs
-
setPartitionSpecs
public ThriftHiveMetastore.exchange_partition_args 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) -
getSourceDb
-
setSourceDb
-
unsetSourceDb
public void unsetSourceDb() -
isSetSourceDb
public boolean isSetSourceDb()Returns true if field source_db is set (has been assigned a value) and false otherwise -
setSourceDbIsSet
public void setSourceDbIsSet(boolean value) -
getSourceTableName
-
setSourceTableName
-
unsetSourceTableName
public void unsetSourceTableName() -
isSetSourceTableName
public boolean isSetSourceTableName()Returns true if field source_table_name is set (has been assigned a value) and false otherwise -
setSourceTableNameIsSet
public void setSourceTableNameIsSet(boolean value) -
getDestDb
-
setDestDb
-
unsetDestDb
public void unsetDestDb() -
isSetDestDb
public boolean isSetDestDb()Returns true if field dest_db is set (has been assigned a value) and false otherwise -
setDestDbIsSet
public void setDestDbIsSet(boolean value) -
getDestTableName
-
setDestTableName
-
unsetDestTableName
public void unsetDestTableName() -
isSetDestTableName
public boolean isSetDestTableName()Returns true if field dest_table_name is set (has been assigned a value) and false otherwise -
setDestTableNameIsSet
public void setDestTableNameIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.exchange_partition_args,ThriftHiveMetastore.exchange_partition_args._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.exchange_partition_args,ThriftHiveMetastore.exchange_partition_args._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.exchange_partition_args,ThriftHiveMetastore.exchange_partition_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ThriftHiveMetastore.exchange_partition_args>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.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:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-