Package io.trino.hive.thrift.metastore
Class ThriftHiveMetastore.alter_partition_with_environment_context_args
java.lang.Object
io.trino.hive.thrift.metastore.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> org.apache.thrift.TSerializable
- 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, Comparable<ThriftHiveMetastore.alter_partition_with_environment_context_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.alter_partition_with_environment_context_args._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionalter_partition_with_environment_context_args(ThriftHiveMetastore.alter_partition_with_environment_context_args other) Performs a deep copy on other.alter_partition_with_environment_context_args(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field db_name is set (has been assigned a value) and false otherwisebooleanReturns true if field environment_context is set (has been assigned a value) and false otherwisebooleanReturns true if field new_part is set (has been assigned a value) and false otherwisebooleanReturns true if field tbl_name is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetDbNameIsSet(boolean value) setEnvironmentContext(EnvironmentContext environment_context) voidsetEnvironmentContextIsSet(boolean value) voidsetFieldValue(ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields field, Object value) setNewPart(Partition new_part) voidsetNewPartIsSet(boolean value) setTblName(String tbl_name) voidsetTblNameIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
alter_partition_with_environment_context_args
public alter_partition_with_environment_context_args() -
alter_partition_with_environment_context_args
public alter_partition_with_environment_context_args(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context) -
alter_partition_with_environment_context_args
public alter_partition_with_environment_context_args(ThriftHiveMetastore.alter_partition_with_environment_context_args other) Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.alter_partition_with_environment_context_args,ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.alter_partition_with_environment_context_args,ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields>
-
getDbName
-
setDbName
-
unsetDbName
public void unsetDbName() -
isSetDbName
public boolean isSetDbName()Returns true if field db_name is set (has been assigned a value) and false otherwise -
setDbNameIsSet
public void setDbNameIsSet(boolean value) -
getTblName
-
setTblName
public ThriftHiveMetastore.alter_partition_with_environment_context_args setTblName(String tbl_name) -
unsetTblName
public void unsetTblName() -
isSetTblName
public boolean isSetTblName()Returns true if field tbl_name is set (has been assigned a value) and false otherwise -
setTblNameIsSet
public void setTblNameIsSet(boolean value) -
getNewPart
-
setNewPart
public ThriftHiveMetastore.alter_partition_with_environment_context_args setNewPart(Partition new_part) -
unsetNewPart
public void unsetNewPart() -
isSetNewPart
public boolean isSetNewPart()Returns true if field new_part is set (has been assigned a value) and false otherwise -
setNewPartIsSet
public void setNewPartIsSet(boolean value) -
getEnvironmentContext
-
setEnvironmentContext
public ThriftHiveMetastore.alter_partition_with_environment_context_args setEnvironmentContext(EnvironmentContext environment_context) -
unsetEnvironmentContext
public void unsetEnvironmentContext() -
isSetEnvironmentContext
public boolean isSetEnvironmentContext()Returns true if field environment_context is set (has been assigned a value) and false otherwise -
setEnvironmentContextIsSet
public void setEnvironmentContextIsSet(boolean value) -
setFieldValue
public void setFieldValue(ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields field, Object value) - Specified by:
setFieldValuein interfaceorg.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:
getFieldValuein interfaceorg.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:
isSetin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.alter_partition_with_environment_context_args,ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ThriftHiveMetastore.alter_partition_with_environment_context_args>
-
fieldForId
public ThriftHiveMetastore.alter_partition_with_environment_context_args._Fields fieldForId(int fieldId) - Specified by:
fieldForIdin interfaceorg.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:
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
-