Class StatementTelemetryDetails
java.lang.Object
com.databricks.jdbc.model.telemetry.StatementTelemetryDetails
This class is used to store the telemetry details for a statement.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidrecordChunkDownloadLatency(long chunkIndex, long latencyMillis) voidrecordChunkIteration(Long totalChunks) voidrecordGetOperationStatusLatency(long latencyMillis) recordOperationLatency(long latencyMillis, OperationType operationType) voidrecordResultSetIteration(Long totalChunks, boolean hasNext) setExecutionResultFormat(ExecutionResultFormat executionResultFormat) setInternalCall(boolean isInternalCall) setOperationLatencyMillis(Long operationLatencyMillis)
-
Constructor Details
-
StatementTelemetryDetails
-
-
Method Details
-
getStatementId
-
isInternalCall
public boolean isInternalCall() -
getResultLatency
-
getOperationDetail
-
getChunkDetails
-
setOperationLatencyMillis
-
setInternalCall
-
recordChunkDownloadLatency
public void recordChunkDownloadLatency(long chunkIndex, long latencyMillis) -
recordChunkIteration
-
recordResultSetIteration
-
recordOperationLatency
public StatementTelemetryDetails recordOperationLatency(long latencyMillis, OperationType operationType) -
recordGetOperationStatusLatency
public void recordGetOperationStatusLatency(long latencyMillis) -
getOperationLatencyMillis
-
setExecutionResultFormat
public StatementTelemetryDetails setExecutionResultFormat(ExecutionResultFormat executionResultFormat) -
getExecutionResultFormat
-