org.apache.accumulo.core.tabletserver.thrift
public class TabletStats extends Object implements org.apache.thrift.TBase<TabletStats,TabletStats._Fields>, Serializable, Cloneable, Comparable<TabletStats>
Modifier and Type | Class and Description |
---|---|
static class |
TabletStats._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TKeyExtent |
extent |
double |
ingestRate |
ActionStats |
majors |
static Map<TabletStats._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ActionStats |
minors |
long |
numEntries |
double |
queryRate |
long |
splitCreationTime |
ActionStats |
splits |
Constructor and Description |
---|
TabletStats() |
TabletStats(TabletStats other)
Performs a deep copy on other.
|
TabletStats(TKeyExtent extent,
ActionStats majors,
ActionStats minors,
ActionStats splits,
long numEntries,
double ingestRate,
double queryRate,
long splitCreationTime) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TabletStats other) |
TabletStats |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TabletStats that) |
TabletStats._Fields |
fieldForId(int fieldId) |
TKeyExtent |
getExtent() |
Object |
getFieldValue(TabletStats._Fields field) |
double |
getIngestRate() |
ActionStats |
getMajors() |
ActionStats |
getMinors() |
long |
getNumEntries() |
double |
getQueryRate() |
long |
getSplitCreationTime() |
ActionStats |
getSplits() |
int |
hashCode() |
boolean |
isSet(TabletStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetExtent()
Returns true if field extent 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 |
isSetNumEntries()
Returns true if field numEntries 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 |
isSetSplitCreationTime()
Returns true if field splitCreationTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetSplits()
Returns true if field splits is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TabletStats |
setExtent(TKeyExtent extent) |
void |
setExtentIsSet(boolean value) |
void |
setFieldValue(TabletStats._Fields field,
Object value) |
TabletStats |
setIngestRate(double ingestRate) |
void |
setIngestRateIsSet(boolean value) |
TabletStats |
setMajors(ActionStats majors) |
void |
setMajorsIsSet(boolean value) |
TabletStats |
setMinors(ActionStats minors) |
void |
setMinorsIsSet(boolean value) |
TabletStats |
setNumEntries(long numEntries) |
void |
setNumEntriesIsSet(boolean value) |
TabletStats |
setQueryRate(double queryRate) |
void |
setQueryRateIsSet(boolean value) |
TabletStats |
setSplitCreationTime(long splitCreationTime) |
void |
setSplitCreationTimeIsSet(boolean value) |
TabletStats |
setSplits(ActionStats splits) |
void |
setSplitsIsSet(boolean value) |
String |
toString() |
void |
unsetExtent() |
void |
unsetIngestRate() |
void |
unsetMajors() |
void |
unsetMinors() |
void |
unsetNumEntries() |
void |
unsetQueryRate() |
void |
unsetSplitCreationTime() |
void |
unsetSplits() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TKeyExtent extent
public ActionStats majors
public ActionStats minors
public ActionStats splits
public long numEntries
public double ingestRate
public double queryRate
public long splitCreationTime
public static final Map<TabletStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TabletStats()
public TabletStats(TKeyExtent extent, ActionStats majors, ActionStats minors, ActionStats splits, long numEntries, double ingestRate, double queryRate, long splitCreationTime)
public TabletStats(TabletStats other)
public TabletStats deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TabletStats,TabletStats._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TabletStats,TabletStats._Fields>
public TKeyExtent getExtent()
public TabletStats setExtent(TKeyExtent extent)
public void unsetExtent()
public boolean isSetExtent()
public void setExtentIsSet(boolean value)
public ActionStats getMajors()
public TabletStats setMajors(ActionStats majors)
public void unsetMajors()
public boolean isSetMajors()
public void setMajorsIsSet(boolean value)
public ActionStats getMinors()
public TabletStats setMinors(ActionStats minors)
public void unsetMinors()
public boolean isSetMinors()
public void setMinorsIsSet(boolean value)
public ActionStats getSplits()
public TabletStats setSplits(ActionStats splits)
public void unsetSplits()
public boolean isSetSplits()
public void setSplitsIsSet(boolean value)
public long getNumEntries()
public TabletStats setNumEntries(long numEntries)
public void unsetNumEntries()
public boolean isSetNumEntries()
public void setNumEntriesIsSet(boolean value)
public double getIngestRate()
public TabletStats setIngestRate(double ingestRate)
public void unsetIngestRate()
public boolean isSetIngestRate()
public void setIngestRateIsSet(boolean value)
public double getQueryRate()
public TabletStats setQueryRate(double queryRate)
public void unsetQueryRate()
public boolean isSetQueryRate()
public void setQueryRateIsSet(boolean value)
public long getSplitCreationTime()
public TabletStats setSplitCreationTime(long splitCreationTime)
public void unsetSplitCreationTime()
public boolean isSetSplitCreationTime()
public void setSplitCreationTimeIsSet(boolean value)
public void setFieldValue(TabletStats._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TabletStats,TabletStats._Fields>
public Object getFieldValue(TabletStats._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TabletStats,TabletStats._Fields>
public boolean isSet(TabletStats._Fields field)
isSet
in interface org.apache.thrift.TBase<TabletStats,TabletStats._Fields>
public boolean equals(TabletStats that)
public int compareTo(TabletStats other)
compareTo
in interface Comparable<TabletStats>
public TabletStats._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TabletStats,TabletStats._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TabletStats,TabletStats._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<TabletStats,TabletStats._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.