|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.TableStats
public class TableStats
TableStats holds the statistics for a given table.
Nested Class Summary | |
---|---|
static class |
TableStats._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
long |
bytes
The size in bytes. |
static Map<TableStats._Fields,FieldMetaData> |
metaDataMap
|
long |
recordCount
The record count. |
long |
rowCount
The row count. |
String |
tableName
The table name. |
Constructor Summary | |
---|---|
TableStats()
|
|
TableStats(String tableName,
long bytes,
long recordCount,
long rowCount)
|
|
TableStats(TableStats other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(TableStats other)
|
TableStats |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TableStats that)
|
TableStats._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
long |
getBytes()
The size in bytes. |
Object |
getFieldValue(TableStats._Fields field)
Get a field's value by field variable. |
long |
getRecordCount()
The record count. |
long |
getRowCount()
The row count. |
String |
getTableName()
The table name. |
int |
hashCode()
|
boolean |
isSet(TableStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetBytes()
Returns true if field bytes is set (has been assigned a value) and false otherwise |
boolean |
isSetRecordCount()
Returns true if field recordCount is set (has been assigned a value) and false otherwise |
boolean |
isSetRowCount()
Returns true if field rowCount is set (has been assigned a value) and false otherwise |
boolean |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
TableStats |
setBytes(long bytes)
The size in bytes. |
void |
setBytesIsSet(boolean value)
|
void |
setFieldValue(TableStats._Fields field,
Object value)
Set a field's value by field variable. |
TableStats |
setRecordCount(long recordCount)
The record count. |
void |
setRecordCountIsSet(boolean value)
|
TableStats |
setRowCount(long rowCount)
The row count. |
void |
setRowCountIsSet(boolean value)
|
TableStats |
setTableName(String tableName)
The table name. |
void |
setTableNameIsSet(boolean value)
|
String |
toString()
|
void |
unsetBytes()
|
void |
unsetRecordCount()
|
void |
unsetRowCount()
|
void |
unsetTableName()
|
void |
validate()
|
void |
write(TProtocol oprot)
Writes the objects out to the protocol |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String tableName
public long bytes
public long recordCount
public long rowCount
public static final Map<TableStats._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public TableStats()
public TableStats(String tableName, long bytes, long recordCount, long rowCount)
public TableStats(TableStats other)
Method Detail |
---|
public TableStats deepCopy()
deepCopy
in interface TBase<TableStats,TableStats._Fields>
public void clear()
TBase
clear
in interface TBase<TableStats,TableStats._Fields>
public String getTableName()
public TableStats setTableName(String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public long getBytes()
public TableStats setBytes(long bytes)
public void unsetBytes()
public boolean isSetBytes()
public void setBytesIsSet(boolean value)
public long getRecordCount()
public TableStats setRecordCount(long recordCount)
public void unsetRecordCount()
public boolean isSetRecordCount()
public void setRecordCountIsSet(boolean value)
public long getRowCount()
public TableStats setRowCount(long rowCount)
public void unsetRowCount()
public boolean isSetRowCount()
public void setRowCountIsSet(boolean value)
public void setFieldValue(TableStats._Fields field, Object value)
TBase
setFieldValue
in interface TBase<TableStats,TableStats._Fields>
public Object getFieldValue(TableStats._Fields field)
TBase
getFieldValue
in interface TBase<TableStats,TableStats._Fields>
public boolean isSet(TableStats._Fields field)
isSet
in interface TBase<TableStats,TableStats._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TableStats that)
public int hashCode()
hashCode
in class Object
public int compareTo(TableStats other)
compareTo
in interface Comparable<TableStats>
public TableStats._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<TableStats,TableStats._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<TableStats,TableStats._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<TableStats,TableStats._Fields>
oprot
- Output protocol
TException
public String toString()
toString
in class Object
public void validate() throws TException
TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |