Package com.clickhouse.client
Class ClickHouseResponseSummary.Statistics
java.lang.Object
com.clickhouse.client.ClickHouseResponseSummary.Statistics
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ClickHouseResponseSummary
Statistics of a query.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStatistics(long rows, long blocks, long allocated_bytes, boolean applied_limit, long rows_before_limit) Default constructor. -
Method Summary
-
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 rowsblocks- total number of blocksallocated_bytes- allocated bytesapplied_limit- whether limit was applied or notrows_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()
-