public class TableStatsHolder extends java.lang.Object implements StatsHolder
Modifier and Type | Field and Description |
---|---|
boolean |
humanReadable |
java.util.List<StatsKeyspace> |
keyspaces |
boolean |
locationCheck |
int |
numberOfTables |
java.lang.String |
sortKey |
int |
top |
Constructor and Description |
---|
TableStatsHolder(NodeProbe probe,
boolean humanReadable,
boolean ignore,
java.util.List<java.lang.String> tableNames,
java.lang.String sortKey,
int top,
boolean locationCheck) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
convert2Map() |
java.util.List<StatsTable> |
getSortedFilteredTables()
Sort and filter this TableStatHolder's tables as specified by its sortKey and top attributes.
|
protected boolean |
isTestTableStatsHolder() |
public final java.util.List<StatsKeyspace> keyspaces
public final int numberOfTables
public final boolean humanReadable
public final java.lang.String sortKey
public final int top
public final boolean locationCheck
public TableStatsHolder(NodeProbe probe, boolean humanReadable, boolean ignore, java.util.List<java.lang.String> tableNames, java.lang.String sortKey, int top, boolean locationCheck)
public java.util.Map<java.lang.String,java.lang.Object> convert2Map()
convert2Map
in interface StatsHolder
public java.util.List<StatsTable> getSortedFilteredTables()
protected boolean isTestTableStatsHolder()
Copyright © 2009-2021 The Apache Software Foundation