Package io.trino.hive.thrift.metastore
Class AlterTableRequest
java.lang.Object
io.trino.hive.thrift.metastore.AlterTableRequest
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AlterTableRequest>,org.apache.thrift.TBase<AlterTableRequest,,AlterTableRequest._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class AlterTableRequest
extends Object
implements org.apache.thrift.TBase<AlterTableRequest,AlterTableRequest._Fields>, Serializable, Cloneable, Comparable<AlterTableRequest>
- 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<AlterTableRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.AlterTableRequest(String dbName, String tableName, Table table) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()intcompareTo(AlterTableRequest other) deepCopy()booleanequals(AlterTableRequest that) booleanfieldForId(int fieldId) intgetTable()longinthashCode()booleanisSet(AlterTableRequest._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field catName is set (has been assigned a value) and false otherwisebooleanReturns true if field dbName is set (has been assigned a value) and false otherwisebooleanReturns true if field environmentContext is set (has been assigned a value) and false otherwisebooleanReturns true if field processorCapabilities is set (has been assigned a value) and false otherwisebooleanReturns true if field processorIdentifier is set (has been assigned a value) and false otherwisebooleanReturns true if field table is set (has been assigned a value) and false otherwisebooleanReturns true if field tableName is set (has been assigned a value) and false otherwisebooleanReturns true if field validWriteIdList is set (has been assigned a value) and false otherwisebooleanReturns true if field writeId is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCatName(String catName) voidsetCatNameIsSet(boolean value) voidsetDbNameIsSet(boolean value) setEnvironmentContext(EnvironmentContext environmentContext) voidsetEnvironmentContextIsSet(boolean value) voidsetFieldValue(AlterTableRequest._Fields field, Object value) setProcessorCapabilities(List<String> processorCapabilities) voidsetProcessorCapabilitiesIsSet(boolean value) setProcessorIdentifier(String processorIdentifier) voidsetProcessorIdentifierIsSet(boolean value) voidsetTableIsSet(boolean value) setTableName(String tableName) voidsetTableNameIsSet(boolean value) setValidWriteIdList(String validWriteIdList) voidsetValidWriteIdListIsSet(boolean value) setWriteId(long writeId) voidsetWriteIdIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<AlterTableRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AlterTableRequest
public AlterTableRequest() -
AlterTableRequest
-
AlterTableRequest
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AlterTableRequest,AlterTableRequest._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AlterTableRequest,AlterTableRequest._Fields>
-
getCatName
-
setCatName
-
unsetCatName
public void unsetCatName() -
isSetCatName
public boolean isSetCatName()Returns true if field catName is set (has been assigned a value) and false otherwise -
setCatNameIsSet
public void setCatNameIsSet(boolean value) -
getDbName
-
setDbName
-
unsetDbName
public void unsetDbName() -
isSetDbName
public boolean isSetDbName()Returns true if field dbName is set (has been assigned a value) and false otherwise -
setDbNameIsSet
public void setDbNameIsSet(boolean value) -
getTableName
-
setTableName
-
unsetTableName
public void unsetTableName() -
isSetTableName
public boolean isSetTableName()Returns true if field tableName is set (has been assigned a value) and false otherwise -
setTableNameIsSet
public void setTableNameIsSet(boolean value) -
getTable
-
setTable
-
unsetTable
public void unsetTable() -
isSetTable
public boolean isSetTable()Returns true if field table is set (has been assigned a value) and false otherwise -
setTableIsSet
public void setTableIsSet(boolean value) -
getEnvironmentContext
-
setEnvironmentContext
-
unsetEnvironmentContext
public void unsetEnvironmentContext() -
isSetEnvironmentContext
public boolean isSetEnvironmentContext()Returns true if field environmentContext is set (has been assigned a value) and false otherwise -
setEnvironmentContextIsSet
public void setEnvironmentContextIsSet(boolean value) -
getWriteId
public long getWriteId() -
setWriteId
-
unsetWriteId
public void unsetWriteId() -
isSetWriteId
public boolean isSetWriteId()Returns true if field writeId is set (has been assigned a value) and false otherwise -
setWriteIdIsSet
public void setWriteIdIsSet(boolean value) -
getValidWriteIdList
-
setValidWriteIdList
-
unsetValidWriteIdList
public void unsetValidWriteIdList() -
isSetValidWriteIdList
public boolean isSetValidWriteIdList()Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise -
setValidWriteIdListIsSet
public void setValidWriteIdListIsSet(boolean value) -
getProcessorCapabilitiesSize
public int getProcessorCapabilitiesSize() -
getProcessorCapabilitiesIterator
-
addToProcessorCapabilities
-
getProcessorCapabilities
-
setProcessorCapabilities
-
unsetProcessorCapabilities
public void unsetProcessorCapabilities() -
isSetProcessorCapabilities
public boolean isSetProcessorCapabilities()Returns true if field processorCapabilities is set (has been assigned a value) and false otherwise -
setProcessorCapabilitiesIsSet
public void setProcessorCapabilitiesIsSet(boolean value) -
getProcessorIdentifier
-
setProcessorIdentifier
-
unsetProcessorIdentifier
public void unsetProcessorIdentifier() -
isSetProcessorIdentifier
public boolean isSetProcessorIdentifier()Returns true if field processorIdentifier is set (has been assigned a value) and false otherwise -
setProcessorIdentifierIsSet
public void setProcessorIdentifierIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AlterTableRequest,AlterTableRequest._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AlterTableRequest,AlterTableRequest._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<AlterTableRequest,AlterTableRequest._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AlterTableRequest>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AlterTableRequest,AlterTableRequest._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
-