@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class CompactionMetricsDataStruct extends Object implements org.apache.thrift.TBase<CompactionMetricsDataStruct,CompactionMetricsDataStruct._Fields>, Serializable, Cloneable, Comparable<CompactionMetricsDataStruct>
| Modifier and Type | Class and Description |
|---|---|
static class |
CompactionMetricsDataStruct._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<CompactionMetricsDataStruct._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
CompactionMetricsDataStruct() |
CompactionMetricsDataStruct(CompactionMetricsDataStruct other)
Performs a deep copy on other.
|
CompactionMetricsDataStruct(String dbname,
String tblname,
CompactionMetricsMetricType type,
int metricvalue,
int version,
int threshold) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(CompactionMetricsDataStruct other) |
CompactionMetricsDataStruct |
deepCopy() |
boolean |
equals(CompactionMetricsDataStruct that) |
boolean |
equals(Object that) |
CompactionMetricsDataStruct._Fields |
fieldForId(int fieldId) |
String |
getDbname() |
Object |
getFieldValue(CompactionMetricsDataStruct._Fields field) |
int |
getMetricvalue() |
String |
getPartitionname() |
String |
getTblname() |
int |
getThreshold() |
CompactionMetricsMetricType |
getType() |
int |
getVersion() |
int |
hashCode() |
boolean |
isSet(CompactionMetricsDataStruct._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 |
isSetMetricvalue()
Returns true if field metricvalue 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 |
isSetTblname()
Returns true if field tblname is set (has been assigned a value) and false otherwise
|
boolean |
isSetThreshold()
Returns true if field threshold 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 |
isSetVersion()
Returns true if field version 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(CompactionMetricsDataStruct._Fields field,
Object value) |
void |
setMetricvalue(int metricvalue) |
void |
setMetricvalueIsSet(boolean value) |
void |
setPartitionname(String partitionname) |
void |
setPartitionnameIsSet(boolean value) |
void |
setTblname(String tblname) |
void |
setTblnameIsSet(boolean value) |
void |
setThreshold(int threshold) |
void |
setThresholdIsSet(boolean value) |
void |
setType(CompactionMetricsMetricType type) |
void |
setTypeIsSet(boolean value) |
void |
setVersion(int version) |
void |
setVersionIsSet(boolean value) |
String |
toString() |
void |
unsetDbname() |
void |
unsetMetricvalue() |
void |
unsetPartitionname() |
void |
unsetTblname() |
void |
unsetThreshold() |
void |
unsetType() |
void |
unsetVersion() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<CompactionMetricsDataStruct._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CompactionMetricsDataStruct()
public CompactionMetricsDataStruct(String dbname, String tblname, CompactionMetricsMetricType type, int metricvalue, int version, int threshold)
public CompactionMetricsDataStruct(CompactionMetricsDataStruct other)
public CompactionMetricsDataStruct deepCopy()
deepCopy in interface org.apache.thrift.TBase<CompactionMetricsDataStruct,CompactionMetricsDataStruct._Fields>public void clear()
clear in interface org.apache.thrift.TBase<CompactionMetricsDataStruct,CompactionMetricsDataStruct._Fields>public String getDbname()
public void setDbname(String dbname)
public void unsetDbname()
public boolean isSetDbname()
public void setDbnameIsSet(boolean value)
public String getTblname()
public void setTblname(String tblname)
public void unsetTblname()
public boolean isSetTblname()
public void setTblnameIsSet(boolean value)
public String getPartitionname()
public void setPartitionname(String partitionname)
public void unsetPartitionname()
public boolean isSetPartitionname()
public void setPartitionnameIsSet(boolean value)
public CompactionMetricsMetricType getType()
CompactionMetricsMetricTypepublic void setType(CompactionMetricsMetricType type)
CompactionMetricsMetricTypepublic void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public int getMetricvalue()
public void setMetricvalue(int metricvalue)
public void unsetMetricvalue()
public boolean isSetMetricvalue()
public void setMetricvalueIsSet(boolean value)
public int getVersion()
public void setVersion(int version)
public void unsetVersion()
public boolean isSetVersion()
public void setVersionIsSet(boolean value)
public int getThreshold()
public void setThreshold(int threshold)
public void unsetThreshold()
public boolean isSetThreshold()
public void setThresholdIsSet(boolean value)
public void setFieldValue(CompactionMetricsDataStruct._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<CompactionMetricsDataStruct,CompactionMetricsDataStruct._Fields>public Object getFieldValue(CompactionMetricsDataStruct._Fields field)
getFieldValue in interface org.apache.thrift.TBase<CompactionMetricsDataStruct,CompactionMetricsDataStruct._Fields>public boolean isSet(CompactionMetricsDataStruct._Fields field)
isSet in interface org.apache.thrift.TBase<CompactionMetricsDataStruct,CompactionMetricsDataStruct._Fields>public boolean equals(CompactionMetricsDataStruct that)
public int compareTo(CompactionMetricsDataStruct other)
compareTo in interface Comparable<CompactionMetricsDataStruct>public CompactionMetricsDataStruct._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<CompactionMetricsDataStruct,CompactionMetricsDataStruct._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.