public class ShowCompactResponseElement extends Object implements org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ShowCompactResponseElement._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<ShowCompactResponseElement._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ShowCompactResponseElement() |
ShowCompactResponseElement(ShowCompactResponseElement other)
Performs a deep copy on other.
|
ShowCompactResponseElement(String dbname,
String tablename,
CompactionType type,
String state) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ShowCompactResponseElement other) |
ShowCompactResponseElement |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ShowCompactResponseElement that) |
ShowCompactResponseElement._Fields |
fieldForId(int fieldId) |
String |
getDbname() |
Object |
getFieldValue(ShowCompactResponseElement._Fields field) |
String |
getPartitionname() |
String |
getRunAs() |
long |
getStart() |
String |
getState() |
String |
getTablename() |
CompactionType |
getType() |
String |
getWorkerid() |
int |
hashCode() |
boolean |
isSet(ShowCompactResponseElement._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 |
isSetStart()
Returns true if field start is set (has been assigned a value) and false otherwise
|
boolean |
isSetState()
Returns true if field state 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
|
boolean |
isSetWorkerid()
Returns true if field workerid 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(ShowCompactResponseElement._Fields field,
Object value) |
void |
setPartitionname(String partitionname) |
void |
setPartitionnameIsSet(boolean value) |
void |
setRunAs(String runAs) |
void |
setRunAsIsSet(boolean value) |
void |
setStart(long start) |
void |
setStartIsSet(boolean value) |
void |
setState(String state) |
void |
setStateIsSet(boolean value) |
void |
setTablename(String tablename) |
void |
setTablenameIsSet(boolean value) |
void |
setType(CompactionType type) |
void |
setTypeIsSet(boolean value) |
void |
setWorkerid(String workerid) |
void |
setWorkeridIsSet(boolean value) |
String |
toString() |
void |
unsetDbname() |
void |
unsetPartitionname() |
void |
unsetRunAs() |
void |
unsetStart() |
void |
unsetState() |
void |
unsetTablename() |
void |
unsetType() |
void |
unsetWorkerid() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ShowCompactResponseElement._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ShowCompactResponseElement()
public ShowCompactResponseElement(String dbname, String tablename, CompactionType type, String state)
public ShowCompactResponseElement(ShowCompactResponseElement other)
public ShowCompactResponseElement deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._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()
CompactionType
public void setType(CompactionType type)
CompactionType
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public String getState()
public void setState(String state)
public void unsetState()
public boolean isSetState()
public void setStateIsSet(boolean value)
public String getWorkerid()
public void setWorkerid(String workerid)
public void unsetWorkerid()
public boolean isSetWorkerid()
public void setWorkeridIsSet(boolean value)
public long getStart()
public void setStart(long start)
public void unsetStart()
public boolean isSetStart()
public void setStartIsSet(boolean value)
public String getRunAs()
public void setRunAs(String runAs)
public void unsetRunAs()
public boolean isSetRunAs()
public void setRunAsIsSet(boolean value)
public void setFieldValue(ShowCompactResponseElement._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._Fields>
public Object getFieldValue(ShowCompactResponseElement._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._Fields>
public boolean isSet(ShowCompactResponseElement._Fields field)
isSet
in interface org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._Fields>
public boolean equals(ShowCompactResponseElement that)
public int compareTo(ShowCompactResponseElement other)
compareTo
in interface Comparable<ShowCompactResponseElement>
public ShowCompactResponseElement._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ShowCompactResponseElement,ShowCompactResponseElement._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.