Class TableInformation


  • public class TableInformation
    extends Object
    Generates table information as a JSON object
    Since:
    2.0.0
    • Field Detail

      • tablename

        public String tablename
      • 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
      • majorCombo

        public String majorCombo
      • minorCombo

        public String minorCombo
      • 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 create
        tableId - Table ID to create
        tableState - 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 create
        tableId - ID of the table to create
        info - Thift table info
        holdTime - Hold time for the table
        tableState - State of the table