Class TableInformation
- java.lang.Object
-
- org.apache.accumulo.monitor.rest.tables.TableInformation
-
public class TableInformation extends Object
Generates table information as a JSON object- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description doubleentriesReaddoubleentriesReturnedDoubleholdTimedoubleingestByteRatedoubleingestRateStringmajorComboCompactionsListmajorCompactionsStringminorComboCompactionsListminorCompactionsintofflineTabletsintonlineTabletsdoublequerydoublequeryByteRatelongrecslongrecsInMemoryCompactionsListscansStringscansComboTableIdtableIdStringtablenameStringtableStateinttablets
-
Constructor Summary
Constructors Constructor Description TableInformation()TableInformation(String tableName, TableId tableId, String tableState)Generate a table with just the stateTableInformation(String tableName, TableId tableId, TableInfo info, Double holdTime, String tableState)Generate table based on the thrift table info
-
-
-
Field Detail
-
tablename
public String tablename
-
tableId
public TableId tableId
-
tableState
public String tableState
-
tablets
public int tablets
-
onlineTablets
public int onlineTablets
-
recs
public long recs
-
recsInMemory
public long recsInMemory
-
ingestRate
public double ingestRate
-
ingestByteRate
public double ingestByteRate
-
query
public double query
-
queryByteRate
public double queryByteRate
-
majorCompactions
public CompactionsList majorCompactions
-
majorCombo
public String majorCombo
-
minorCompactions
public CompactionsList minorCompactions
-
minorCombo
public String minorCombo
-
scans
public CompactionsList scans
-
scansCombo
public String scansCombo
-
entriesRead
public double entriesRead
-
entriesReturned
public double entriesReturned
-
holdTime
public Double holdTime
-
offlineTablets
public int offlineTablets
-
-
Constructor Detail
-
TableInformation
public TableInformation()
-
TableInformation
public TableInformation(String tableName, TableId tableId, String tableState)
Generate a table with just the state- Parameters:
tableName- Table name to createtableId- Table ID to createtableState- State of the table
-
TableInformation
public TableInformation(String tableName, TableId tableId, TableInfo info, Double holdTime, String tableState)
Generate table based on the thrift table info- Parameters:
tableName- Name of the table to createtableId- ID of the table to createinfo- Thift table infoholdTime- Hold time for the tabletableState- State of the table
-
-