org.apache.accumulo.core.master.thrift
public class TableInfo extends Object implements org.apache.thrift.TBase<TableInfo,TableInfo._Fields>, Serializable, Cloneable, Comparable<TableInfo>
Modifier and Type | Class and Description |
---|---|
static class |
TableInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
double |
ingestByteRate |
double |
ingestRate |
Compacting |
majors |
static Map<TableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Compacting |
minors |
int |
onlineTablets |
double |
queryByteRate |
double |
queryRate |
long |
recs |
long |
recsInMemory |
double |
scanRate |
Compacting |
scans |
int |
tablets |
Constructor and Description |
---|
TableInfo() |
TableInfo(long recs,
long recsInMemory,
int tablets,
int onlineTablets,
double ingestRate,
double ingestByteRate,
double queryRate,
double queryByteRate,
Compacting minors,
Compacting majors,
Compacting scans,
double scanRate) |
TableInfo(TableInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TableInfo other) |
TableInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TableInfo that) |
TableInfo._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TableInfo._Fields field) |
double |
getIngestByteRate() |
double |
getIngestRate() |
Compacting |
getMajors() |
Compacting |
getMinors() |
int |
getOnlineTablets() |
double |
getQueryByteRate() |
double |
getQueryRate() |
long |
getRecs() |
long |
getRecsInMemory() |
double |
getScanRate() |
Compacting |
getScans() |
int |
getTablets() |
int |
hashCode() |
boolean |
isSet(TableInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetIngestByteRate()
Returns true if field ingestByteRate is set (has been assigned a value) and false otherwise
|
boolean |
isSetIngestRate()
Returns true if field ingestRate is set (has been assigned a value) and false otherwise
|
boolean |
isSetMajors()
Returns true if field majors is set (has been assigned a value) and false otherwise
|
boolean |
isSetMinors()
Returns true if field minors is set (has been assigned a value) and false otherwise
|
boolean |
isSetOnlineTablets()
Returns true if field onlineTablets is set (has been assigned a value) and false otherwise
|
boolean |
isSetQueryByteRate()
Returns true if field queryByteRate is set (has been assigned a value) and false otherwise
|
boolean |
isSetQueryRate()
Returns true if field queryRate is set (has been assigned a value) and false otherwise
|
boolean |
isSetRecs()
Returns true if field recs is set (has been assigned a value) and false otherwise
|
boolean |
isSetRecsInMemory()
Returns true if field recsInMemory is set (has been assigned a value) and false otherwise
|
boolean |
isSetScanRate()
Returns true if field scanRate is set (has been assigned a value) and false otherwise
|
boolean |
isSetScans()
Returns true if field scans is set (has been assigned a value) and false otherwise
|
boolean |
isSetTablets()
Returns true if field tablets is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TableInfo._Fields field,
Object value) |
TableInfo |
setIngestByteRate(double ingestByteRate) |
void |
setIngestByteRateIsSet(boolean value) |
TableInfo |
setIngestRate(double ingestRate) |
void |
setIngestRateIsSet(boolean value) |
TableInfo |
setMajors(Compacting majors) |
void |
setMajorsIsSet(boolean value) |
TableInfo |
setMinors(Compacting minors) |
void |
setMinorsIsSet(boolean value) |
TableInfo |
setOnlineTablets(int onlineTablets) |
void |
setOnlineTabletsIsSet(boolean value) |
TableInfo |
setQueryByteRate(double queryByteRate) |
void |
setQueryByteRateIsSet(boolean value) |
TableInfo |
setQueryRate(double queryRate) |
void |
setQueryRateIsSet(boolean value) |
TableInfo |
setRecs(long recs) |
TableInfo |
setRecsInMemory(long recsInMemory) |
void |
setRecsInMemoryIsSet(boolean value) |
void |
setRecsIsSet(boolean value) |
TableInfo |
setScanRate(double scanRate) |
void |
setScanRateIsSet(boolean value) |
TableInfo |
setScans(Compacting scans) |
void |
setScansIsSet(boolean value) |
TableInfo |
setTablets(int tablets) |
void |
setTabletsIsSet(boolean value) |
String |
toString() |
void |
unsetIngestByteRate() |
void |
unsetIngestRate() |
void |
unsetMajors() |
void |
unsetMinors() |
void |
unsetOnlineTablets() |
void |
unsetQueryByteRate() |
void |
unsetQueryRate() |
void |
unsetRecs() |
void |
unsetRecsInMemory() |
void |
unsetScanRate() |
void |
unsetScans() |
void |
unsetTablets() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long recs
public long recsInMemory
public int tablets
public int onlineTablets
public double ingestRate
public double ingestByteRate
public double queryRate
public double queryByteRate
public Compacting minors
public Compacting majors
public Compacting scans
public double scanRate
public static final Map<TableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TableInfo()
public TableInfo(long recs, long recsInMemory, int tablets, int onlineTablets, double ingestRate, double ingestByteRate, double queryRate, double queryByteRate, Compacting minors, Compacting majors, Compacting scans, double scanRate)
public TableInfo(TableInfo other)
public TableInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public long getRecs()
public TableInfo setRecs(long recs)
public void unsetRecs()
public boolean isSetRecs()
public void setRecsIsSet(boolean value)
public long getRecsInMemory()
public TableInfo setRecsInMemory(long recsInMemory)
public void unsetRecsInMemory()
public boolean isSetRecsInMemory()
public void setRecsInMemoryIsSet(boolean value)
public int getTablets()
public TableInfo setTablets(int tablets)
public void unsetTablets()
public boolean isSetTablets()
public void setTabletsIsSet(boolean value)
public int getOnlineTablets()
public TableInfo setOnlineTablets(int onlineTablets)
public void unsetOnlineTablets()
public boolean isSetOnlineTablets()
public void setOnlineTabletsIsSet(boolean value)
public double getIngestRate()
public TableInfo setIngestRate(double ingestRate)
public void unsetIngestRate()
public boolean isSetIngestRate()
public void setIngestRateIsSet(boolean value)
public double getIngestByteRate()
public TableInfo setIngestByteRate(double ingestByteRate)
public void unsetIngestByteRate()
public boolean isSetIngestByteRate()
public void setIngestByteRateIsSet(boolean value)
public double getQueryRate()
public TableInfo setQueryRate(double queryRate)
public void unsetQueryRate()
public boolean isSetQueryRate()
public void setQueryRateIsSet(boolean value)
public double getQueryByteRate()
public TableInfo setQueryByteRate(double queryByteRate)
public void unsetQueryByteRate()
public boolean isSetQueryByteRate()
public void setQueryByteRateIsSet(boolean value)
public Compacting getMinors()
public TableInfo setMinors(Compacting minors)
public void unsetMinors()
public boolean isSetMinors()
public void setMinorsIsSet(boolean value)
public Compacting getMajors()
public TableInfo setMajors(Compacting majors)
public void unsetMajors()
public boolean isSetMajors()
public void setMajorsIsSet(boolean value)
public Compacting getScans()
public TableInfo setScans(Compacting scans)
public void unsetScans()
public boolean isSetScans()
public void setScansIsSet(boolean value)
public double getScanRate()
public TableInfo setScanRate(double scanRate)
public void unsetScanRate()
public boolean isSetScanRate()
public void setScanRateIsSet(boolean value)
public void setFieldValue(TableInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public Object getFieldValue(TableInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public boolean isSet(TableInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public boolean equals(TableInfo that)
public int compareTo(TableInfo other)
compareTo
in interface Comparable<TableInfo>
public TableInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TableInfo,TableInfo._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<TableInfo,TableInfo._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.