|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.accumulo.core.master.thrift.TableInfo
public class TableInfo
| Nested Class Summary | |
|---|---|
static class |
TableInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Field Summary | |
|---|---|
double |
ingestByteRate
|
double |
ingestRate
|
Compacting |
major
|
static Map<TableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Compacting |
minor
|
int |
onlineTablets
|
double |
queryByteRate
|
double |
queryRate
|
long |
recs
|
long |
recsInMemory
|
Compacting |
scans
|
int |
tablets
|
| Constructor Summary | |
|---|---|
TableInfo()
|
|
TableInfo(long recs,
long recsInMemory,
int tablets,
int onlineTablets,
double ingestRate,
double ingestByteRate,
double queryRate,
double queryByteRate,
Compacting minor,
Compacting major,
Compacting scans)
|
|
TableInfo(TableInfo other)
Performs a deep copy on other. |
|
| Method Summary | |
|---|---|
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 |
getMajor()
|
Compacting |
getMinor()
|
int |
getOnlineTablets()
|
double |
getQueryByteRate()
|
double |
getQueryRate()
|
long |
getRecs()
|
long |
getRecsInMemory()
|
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 |
isSetMajor()
Returns true if field major is set (has been assigned a value) and false otherwise |
boolean |
isSetMinor()
Returns true if field minor 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 |
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 |
setMajor(Compacting major)
|
void |
setMajorIsSet(boolean value)
|
TableInfo |
setMinor(Compacting minor)
|
void |
setMinorIsSet(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 |
setScans(Compacting scans)
|
void |
setScansIsSet(boolean value)
|
TableInfo |
setTablets(int tablets)
|
void |
setTabletsIsSet(boolean value)
|
String |
toString()
|
void |
unsetIngestByteRate()
|
void |
unsetIngestRate()
|
void |
unsetMajor()
|
void |
unsetMinor()
|
void |
unsetOnlineTablets()
|
void |
unsetQueryByteRate()
|
void |
unsetQueryRate()
|
void |
unsetRecs()
|
void |
unsetRecsInMemory()
|
void |
unsetScans()
|
void |
unsetTablets()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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 minor
public Compacting major
public Compacting scans
public static final Map<TableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
| Constructor Detail |
|---|
public TableInfo()
public TableInfo(long recs,
long recsInMemory,
int tablets,
int onlineTablets,
double ingestRate,
double ingestByteRate,
double queryRate,
double queryByteRate,
Compacting minor,
Compacting major,
Compacting scans)
public TableInfo(TableInfo other)
| Method Detail |
|---|
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 getMinor()
public TableInfo setMinor(Compacting minor)
public void unsetMinor()
public boolean isSetMinor()
public void setMinorIsSet(boolean value)
public Compacting getMajor()
public TableInfo setMajor(Compacting major)
public void unsetMajor()
public boolean isSetMajor()
public void setMajorIsSet(boolean value)
public Compacting getScans()
public TableInfo setScans(Compacting scans)
public void unsetScans()
public boolean isSetScans()
public void setScansIsSet(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(Object that)
equals in class Objectpublic boolean equals(TableInfo that)
public int hashCode()
hashCode in class Objectpublic 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.TExceptionpublic String toString()
toString in class Object
public void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||