Class TableStatsHolder

  • All Implemented Interfaces:
    StatsHolder

    public class TableStatsHolder
    extends java.lang.Object
    implements StatsHolder
    • Field Detail

      • keyspaces

        public final java.util.List<StatsKeyspace> keyspaces
      • numberOfTables

        public int numberOfTables
      • humanReadable

        public final boolean humanReadable
      • sortKey

        public final java.lang.String sortKey
      • top

        public final int top
      • locationCheck

        public final boolean locationCheck
    • Constructor Detail

      • TableStatsHolder

        public TableStatsHolder​(NodeProbe probe,
                                boolean humanReadable,
                                boolean ignore,
                                java.util.List<java.lang.String> tableNames,
                                java.lang.String sortKey,
                                int top,
                                boolean locationCheck)
    • Method Detail

      • convert2Map

        public java.util.Map<java.lang.String,​java.lang.Object> convert2Map()
        Specified by:
        convert2Map in interface StatsHolder
      • getSortedFilteredTables

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

        protected boolean isTestTableStatsHolder()