Class CommandResponse
java.lang.Object
com.clickhouse.client.api.command.CommandResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the metrics of this operation.longAlias forServerMetrics.NUM_BYTES_READlongAlias forServerMetrics.NUM_ROWS_READlongAlias forServerMetrics.ELAPSED_TIMElongAlias forServerMetrics.NUM_BYTES_WRITTENlongAlias forServerMetrics.NUM_ROWS_WRITTEN
-
Constructor Details
-
CommandResponse
-
-
Method Details
-
getMetrics
Returns the metrics of this operation.- Returns:
- metrics of this operation
-
getReadRows
public long getReadRows()Alias forServerMetrics.NUM_ROWS_READ- Returns:
- number of rows read by server from the storage
-
getReadBytes
public long getReadBytes()Alias forServerMetrics.NUM_BYTES_READ- Returns:
- number of bytes read by server from the storage
-
getWrittenRows
public long getWrittenRows()Alias forServerMetrics.NUM_ROWS_WRITTEN- Returns:
- number of rows written by server to the storage
-
getWrittenBytes
public long getWrittenBytes()Alias forServerMetrics.NUM_BYTES_WRITTEN- Returns:
- number of bytes written by server to the storage
-
getServerTime
public long getServerTime()Alias forServerMetrics.ELAPSED_TIME- Returns:
- elapsed time in nanoseconds
-