@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class CompactionRequest extends Object implements org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>, Serializable, Cloneable, Comparable<CompactionRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
CompactionRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<CompactionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
CompactionRequest() |
CompactionRequest(CompactionRequest other)
Performs a deep copy on other.
|
CompactionRequest(String dbname,
String tablename,
CompactionType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(CompactionRequest other) |
CompactionRequest |
deepCopy() |
boolean |
equals(CompactionRequest that) |
boolean |
equals(Object that) |
CompactionRequest._Fields |
fieldForId(int fieldId) |
String |
getDbname() |
Object |
getFieldValue(CompactionRequest._Fields field) |
String |
getInitiatorId() |
String |
getInitiatorVersion() |
int |
getNumberOfBuckets() |
String |
getOrderByClause() |
String |
getPartitionname() |
String |
getPoolName() |
Map<String,String> |
getProperties() |
int |
getPropertiesSize() |
String |
getRunas() |
String |
getTablename() |
CompactionType |
getType() |
int |
hashCode() |
boolean |
isSet(CompactionRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbname()
Returns true if field dbname is set (has been assigned a value) and false otherwise
|
boolean |
isSetInitiatorId()
Returns true if field initiatorId is set (has been assigned a value) and false otherwise
|
boolean |
isSetInitiatorVersion()
Returns true if field initiatorVersion is set (has been assigned a value) and false otherwise
|
boolean |
isSetNumberOfBuckets()
Returns true if field numberOfBuckets is set (has been assigned a value) and false otherwise
|
boolean |
isSetOrderByClause()
Returns true if field orderByClause is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionname()
Returns true if field partitionname is set (has been assigned a value) and false otherwise
|
boolean |
isSetPoolName()
Returns true if field poolName is set (has been assigned a value) and false otherwise
|
boolean |
isSetProperties()
Returns true if field properties is set (has been assigned a value) and false otherwise
|
boolean |
isSetRunas()
Returns true if field runas is set (has been assigned a value) and false otherwise
|
boolean |
isSetTablename()
Returns true if field tablename is set (has been assigned a value) and false otherwise
|
boolean |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
void |
putToProperties(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDbname(String dbname) |
void |
setDbnameIsSet(boolean value) |
void |
setFieldValue(CompactionRequest._Fields field,
Object value) |
void |
setInitiatorId(String initiatorId) |
void |
setInitiatorIdIsSet(boolean value) |
void |
setInitiatorVersion(String initiatorVersion) |
void |
setInitiatorVersionIsSet(boolean value) |
void |
setNumberOfBuckets(int numberOfBuckets) |
void |
setNumberOfBucketsIsSet(boolean value) |
void |
setOrderByClause(String orderByClause) |
void |
setOrderByClauseIsSet(boolean value) |
void |
setPartitionname(String partitionname) |
void |
setPartitionnameIsSet(boolean value) |
void |
setPoolName(String poolName) |
void |
setPoolNameIsSet(boolean value) |
void |
setProperties(Map<String,String> properties) |
void |
setPropertiesIsSet(boolean value) |
void |
setRunas(String runas) |
void |
setRunasIsSet(boolean value) |
void |
setTablename(String tablename) |
void |
setTablenameIsSet(boolean value) |
void |
setType(CompactionType type) |
void |
setTypeIsSet(boolean value) |
String |
toString() |
void |
unsetDbname() |
void |
unsetInitiatorId() |
void |
unsetInitiatorVersion() |
void |
unsetNumberOfBuckets() |
void |
unsetOrderByClause() |
void |
unsetPartitionname() |
void |
unsetPoolName() |
void |
unsetProperties() |
void |
unsetRunas() |
void |
unsetTablename() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<CompactionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CompactionRequest()
public CompactionRequest(String dbname, String tablename, CompactionType type)
public CompactionRequest(CompactionRequest other)
public CompactionRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>public String getDbname()
public void setDbname(String dbname)
public void unsetDbname()
public boolean isSetDbname()
public void setDbnameIsSet(boolean value)
public String getTablename()
public void setTablename(String tablename)
public void unsetTablename()
public boolean isSetTablename()
public void setTablenameIsSet(boolean value)
public String getPartitionname()
public void setPartitionname(String partitionname)
public void unsetPartitionname()
public boolean isSetPartitionname()
public void setPartitionnameIsSet(boolean value)
public CompactionType getType()
CompactionTypepublic void setType(CompactionType type)
CompactionTypepublic void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public String getRunas()
public void setRunas(String runas)
public void unsetRunas()
public boolean isSetRunas()
public void setRunasIsSet(boolean value)
public int getPropertiesSize()
public void unsetProperties()
public boolean isSetProperties()
public void setPropertiesIsSet(boolean value)
public String getInitiatorId()
public void setInitiatorId(String initiatorId)
public void unsetInitiatorId()
public boolean isSetInitiatorId()
public void setInitiatorIdIsSet(boolean value)
public String getInitiatorVersion()
public void setInitiatorVersion(String initiatorVersion)
public void unsetInitiatorVersion()
public boolean isSetInitiatorVersion()
public void setInitiatorVersionIsSet(boolean value)
public String getPoolName()
public void setPoolName(String poolName)
public void unsetPoolName()
public boolean isSetPoolName()
public void setPoolNameIsSet(boolean value)
public int getNumberOfBuckets()
public void setNumberOfBuckets(int numberOfBuckets)
public void unsetNumberOfBuckets()
public boolean isSetNumberOfBuckets()
public void setNumberOfBucketsIsSet(boolean value)
public String getOrderByClause()
public void setOrderByClause(String orderByClause)
public void unsetOrderByClause()
public boolean isSetOrderByClause()
public void setOrderByClauseIsSet(boolean value)
public void setFieldValue(CompactionRequest._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>public Object getFieldValue(CompactionRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>public boolean isSet(CompactionRequest._Fields field)
isSet in interface org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>public boolean equals(CompactionRequest that)
public int compareTo(CompactionRequest other)
compareTo in interface Comparable<CompactionRequest>public CompactionRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.