|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 java.util.Map<TableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Compacting |
minor
|
int |
onlineTablets
|
double |
queryByteRate
|
double |
queryRate
|
long |
recs
|
long |
recsInMemory
|
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)
|
|
TableInfo(TableInfo other)
Performs a deep copy on other. |
Method Summary | |
---|---|
TableInfo |
clone()
Deprecated. |
int |
compareTo(TableInfo other)
|
TableInfo |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(TableInfo that)
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(TableInfo._Fields field)
|
double |
getIngestByteRate()
|
double |
getIngestRate()
|
Compacting |
getMajor()
|
Compacting |
getMinor()
|
int |
getOnlineTablets()
|
double |
getQueryByteRate()
|
double |
getQueryRate()
|
long |
getRecs()
|
long |
getRecsInMemory()
|
int |
getTablets()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(TableInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetIngestByteRate()
Returns true if field ingestByteRate is set (has been asigned a value) and false otherwise |
boolean |
isSetIngestRate()
Returns true if field ingestRate is set (has been asigned a value) and false otherwise |
boolean |
isSetMajor()
Returns true if field major is set (has been asigned a value) and false otherwise |
boolean |
isSetMinor()
Returns true if field minor is set (has been asigned a value) and false otherwise |
boolean |
isSetOnlineTablets()
Returns true if field onlineTablets is set (has been asigned a value) and false otherwise |
boolean |
isSetQueryByteRate()
Returns true if field queryByteRate is set (has been asigned a value) and false otherwise |
boolean |
isSetQueryRate()
Returns true if field queryRate is set (has been asigned a value) and false otherwise |
boolean |
isSetRecs()
Returns true if field recs is set (has been asigned a value) and false otherwise |
boolean |
isSetRecsInMemory()
Returns true if field recsInMemory is set (has been asigned a value) and false otherwise |
boolean |
isSetTablets()
Returns true if field tablets is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(TableInfo._Fields field,
java.lang.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 |
setTablets(int tablets)
|
void |
setTabletsIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetIngestByteRate()
|
void |
unsetIngestRate()
|
void |
unsetMajor()
|
void |
unsetMinor()
|
void |
unsetOnlineTablets()
|
void |
unsetQueryByteRate()
|
void |
unsetQueryRate()
|
void |
unsetRecs()
|
void |
unsetRecsInMemory()
|
void |
unsetTablets()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
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 static final java.util.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)
public TableInfo(TableInfo other)
Method Detail |
---|
public TableInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
@Deprecated public TableInfo clone()
clone
in class java.lang.Object
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 void setFieldValue(TableInfo._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public java.lang.Object getFieldValue(TableInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public java.lang.Object getFieldValue(int fieldId)
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 isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<TableInfo,TableInfo._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TableInfo that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TableInfo other)
compareTo
in interface java.lang.Comparable<TableInfo>
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 java.lang.String toString()
toString
in class java.lang.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 |