Class ClickHouseResponseSummary.Statistics

java.lang.Object
com.clickhouse.client.ClickHouseResponseSummary.Statistics
All Implemented Interfaces:
Serializable
Enclosing class:
ClickHouseResponseSummary

public static class ClickHouseResponseSummary.Statistics extends Object implements Serializable
Statistics of a query.
See Also:
  • Constructor Details

    • Statistics

      public Statistics(long rows, long blocks, long allocated_bytes, boolean applied_limit, long rows_before_limit)
      Default constructor.
      Parameters:
      rows - total number of output rows
      blocks - total number of blocks
      allocated_bytes - allocated bytes
      applied_limit - whether limit was applied or not
      rows_before_limit - minimal number of rows there would have been without LIMIT
  • Method Details

    • getRows

      public long getRows()
    • getBlocks

      public long getBlocks()
    • getAllocatedBytes

      public long getAllocatedBytes()
    • hasAppliedLimit

      public boolean hasAppliedLimit()
    • getRowsBeforeLimit

      public long getRowsBeforeLimit()
    • add

    • isEmpty

      public boolean isEmpty()