@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class CompactionRequest extends java.lang.Object implements org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.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 java.util.Map<CompactionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
CompactionRequest() |
CompactionRequest(CompactionRequest other)
Performs a deep copy on other.
|
CompactionRequest(java.lang.String dbname,
java.lang.String tablename,
CompactionType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(CompactionRequest other) |
CompactionRequest |
deepCopy() |
boolean |
equals(CompactionRequest that) |
boolean |
equals(java.lang.Object that) |
CompactionRequest._Fields |
fieldForId(int fieldId) |
java.lang.String |
getDbname() |
java.lang.Object |
getFieldValue(CompactionRequest._Fields field) |
java.lang.String |
getPartitionname() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
int |
getPropertiesSize() |
java.lang.String |
getRunas() |
java.lang.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 |
isSetPartitionname()
Returns true if field partitionname 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(java.lang.String key,
java.lang.String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDbname(java.lang.String dbname) |
void |
setDbnameIsSet(boolean value) |
void |
setFieldValue(CompactionRequest._Fields field,
java.lang.Object value) |
void |
setPartitionname(java.lang.String partitionname) |
void |
setPartitionnameIsSet(boolean value) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
void |
setPropertiesIsSet(boolean value) |
void |
setRunas(java.lang.String runas) |
void |
setRunasIsSet(boolean value) |
void |
setTablename(java.lang.String tablename) |
void |
setTablenameIsSet(boolean value) |
void |
setType(CompactionType type) |
void |
setTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDbname() |
void |
unsetPartitionname() |
void |
unsetProperties() |
void |
unsetRunas() |
void |
unsetTablename() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<CompactionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CompactionRequest()
public CompactionRequest(java.lang.String dbname,
java.lang.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 java.lang.String getDbname()
public void setDbname(java.lang.String dbname)
public void unsetDbname()
public boolean isSetDbname()
public void setDbnameIsSet(boolean value)
public java.lang.String getTablename()
public void setTablename(java.lang.String tablename)
public void unsetTablename()
public boolean isSetTablename()
public void setTablenameIsSet(boolean value)
public java.lang.String getPartitionname()
public void setPartitionname(java.lang.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 java.lang.String getRunas()
public void setRunas(java.lang.String runas)
public void unsetRunas()
public boolean isSetRunas()
public void setRunasIsSet(boolean value)
public int getPropertiesSize()
public void putToProperties(java.lang.String key,
java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
public void unsetProperties()
public boolean isSetProperties()
public void setPropertiesIsSet(boolean value)
public void setFieldValue(CompactionRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>public java.lang.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(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(CompactionRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(CompactionRequest other)
compareTo in interface java.lang.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.TBase<CompactionRequest,CompactionRequest._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.