Class TableStatsHolder

java.lang.Object
org.apache.cassandra.tools.nodetool.stats.TableStatsHolder
All Implemented Interfaces:
StatsHolder

public class TableStatsHolder extends Object implements StatsHolder
  • Field Details

    • keyspaces

      public final List<StatsKeyspace> keyspaces
    • numberOfTables

      public int numberOfTables
    • humanReadable

      public final boolean humanReadable
    • sortKey

      public final String sortKey
    • top

      public final int top
    • locationCheck

      public final boolean locationCheck
  • Constructor Details

    • TableStatsHolder

      public TableStatsHolder(NodeProbe probe, boolean humanReadable, boolean ignore, List<String> tableNames, String sortKey, int top, boolean locationCheck)
  • Method Details

    • convert2Map

      public Map<String,Object> convert2Map()
      Specified by:
      convert2Map in interface StatsHolder
    • getSortedFilteredTables

      public List<StatsTable> getSortedFilteredTables()
      Sort and filter this TableStatHolder's tables as specified by its sortKey and top attributes.
    • isTestTableStatsHolder

      protected boolean isTestTableStatsHolder()