public class CompactionRequest extends Object implements org.apache.thrift.TBase<CompactionRequest,CompactionRequest._Fields>, Serializable, Cloneable
| 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 |
getPartitionname() |
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 |
isSetPartitionname()
Returns true if field partitionname 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 |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDbname(String dbname) |
void |
setDbnameIsSet(boolean value) |
void |
setFieldValue(CompactionRequest._Fields field,
Object value) |
void |
setPartitionname(String partitionname) |
void |
setPartitionnameIsSet(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 |
unsetPartitionname() |
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 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.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 void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.