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