OdbcMetrics class

Performance and operational metrics from the ODBC engine.

Contains query counts, error counts, uptime, and latency statistics.

Constructors

OdbcMetrics({required int queryCount, required int errorCount, required int uptimeSecs, required int totalLatencyMillis, required int avgLatencyMillis})
Creates a new OdbcMetrics instance.
const

Properties

avgLatencyMillis int
Average query latency in milliseconds.
final
errorCount int
Total number of errors encountered.
final
hashCode int
The hash code for this object.
no setterinherited
queryCount int
Total number of queries executed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalLatencyMillis int
Total query latency in milliseconds.
final
uptimeSecs int
Uptime in seconds.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromBytes(Uint8List b) OdbcMetrics
Deserializes OdbcMetrics from binary data.