Package io.trino.hive.thrift.metastore
Class CompactionRequest
java.lang.Object
io.trino.hive.thrift.metastore.CompactionRequest
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CompactionRequest>,org.apache.thrift.TBase<CompactionRequest,,CompactionRequest._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class CompactionRequest
extends Object
implements org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>, Serializable, Cloneable, Comparable<CompactionRequest>
- 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<CompactionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.CompactionRequest(String dbname, String tablename, CompactionType type) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(CompactionRequest other) deepCopy()booleanequals(CompactionRequest that) booleanfieldForId(int fieldId) intgetRunas()getType()inthashCode()booleanisSet(CompactionRequest._Fields field) Returns true if field corresponding to fieldID 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 partitionname is set (has been assigned a value) and false otherwisebooleanReturns true if field properties is set (has been assigned a value) and false otherwisebooleanReturns true if field runas 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 type is set (has been assigned a value) and false otherwisevoidputToProperties(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) voidsetDbnameIsSet(boolean value) voidsetFieldValue(CompactionRequest._Fields field, Object value) setPartitionname(String partitionname) voidsetPartitionnameIsSet(boolean value) setProperties(Map<String, String> properties) voidsetPropertiesIsSet(boolean value) voidsetRunasIsSet(boolean value) setTablename(String tablename) voidsetTablenameIsSet(boolean value) setType(CompactionType type) voidsetTypeIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<CompactionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
CompactionRequest
public CompactionRequest() -
CompactionRequest
-
CompactionRequest
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>
-
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) -
getPartitionname
-
setPartitionname
-
unsetPartitionname
public void unsetPartitionname() -
isSetPartitionname
public boolean isSetPartitionname()Returns true if field partitionname is set (has been assigned a value) and false otherwise -
setPartitionnameIsSet
public void setPartitionnameIsSet(boolean value) -
getType
- See Also:
-
setType
- See Also:
-
unsetType
public void unsetType() -
isSetType
public boolean isSetType()Returns true if field type is set (has been assigned a value) and false otherwise -
setTypeIsSet
public void setTypeIsSet(boolean value) -
getRunas
-
setRunas
-
unsetRunas
public void unsetRunas() -
isSetRunas
public boolean isSetRunas()Returns true if field runas is set (has been assigned a value) and false otherwise -
setRunasIsSet
public void setRunasIsSet(boolean value) -
getPropertiesSize
public int getPropertiesSize() -
putToProperties
-
getProperties
-
setProperties
-
unsetProperties
public void unsetProperties() -
isSetProperties
public boolean isSetProperties()Returns true if field properties is set (has been assigned a value) and false otherwise -
setPropertiesIsSet
public void setPropertiesIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CompactionRequest,CompactionRequest._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<CompactionRequest,CompactionRequest._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<CompactionRequest>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CompactionRequest,CompactionRequest._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
-