Package com.clickhouse.client
Class ClickHouseResponseSummary.Progress
java.lang.Object
com.clickhouse.client.ClickHouseResponseSummary.Progress
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ClickHouseResponseSummary
Progress of a query.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProgress(long read_rows, long read_bytes, long total_rows_to_read, long written_rows, long written_bytes, long elapsed_time, long result_rows) Default constructor.Progress(long read_rows, long read_bytes, long total_rows_to_read, long written_rows, long written_bytes, long elapsed_time, long result_rows, String query_id) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionadd(ClickHouseResponseSummary.Progress progress) longlonglonglonglonglonglongbooleanisEmpty()
-
Constructor Details
-
Progress
public Progress(long read_rows, long read_bytes, long total_rows_to_read, long written_rows, long written_bytes, long elapsed_time, long result_rows) Default constructor.- Parameters:
read_rows- Number of rows readread_bytes- Volume of data read in bytestotal_rows_to_read- Total number of rows to be readwritten_rows- Number of rows writtenwritten_bytes- Volume of data written in byteselapsed_time- Query processing time in (ns)result_rows- Number of rows in the result
-
Progress
public Progress(long read_rows, long read_bytes, long total_rows_to_read, long written_rows, long written_bytes, long elapsed_time, long result_rows, String query_id) Default constructor.- Parameters:
read_rows- Number of rows readread_bytes- Volume of data read in bytestotal_rows_to_read- Total number of rows to be readwritten_rows- Number of rows writtenwritten_bytes- Volume of data written in byteselapsed_time- Query processing time in (ns)result_rows- Number of rows in the resultquery_id- Query ID
-
-
Method Details
-
getReadRows
public long getReadRows() -
getReadBytes
public long getReadBytes() -
getTotalRowsToRead
public long getTotalRowsToRead() -
getWrittenRows
public long getWrittenRows() -
getWrittenBytes
public long getWrittenBytes() -
getElapsedTime
public long getElapsedTime() -
getResultRows
public long getResultRows() -
getQueryId
-
add
-
isEmpty
public boolean isEmpty()
-