ServerHealthMetricTable class

Inheritance

Constructors

ServerHealthMetricTable({TableRelation? tableRelation})

Properties

columns → List<Column>
List of Column used by the table.
no setteroverride
granularity ↔ ColumnInt
The granularity of this timestamp, null represents 1 minute, other valid values are 60 minutes and 1440 minutes (one day).
latefinal
hasColumnMapping → bool
Cached flag indicating whether any columns have explicit column names that differ from their field names. Computed lazily on first access.
latefinalinherited
hashCode → int
The hash code for this object.
no setterinherited
id ↔ ColumnComparable<int?>
The database id.
latefinalinherited
isHealthy ↔ ColumnBool
True if the metric is healthy.
latefinal
managedColumns → List<Column>
List of Column that are managed by this table. This is mostly used to exclude columns created by implicit relations.
no setterinherited
name ↔ ColumnString
The name of the metric.
latefinal
queryPrefix → String
Query prefix for Columns of the table.
no setterinherited
quotedTableName → String
tableName quoted for the current dialect. Prefer it over tableName in raw SQL, since dialects quote schemas differently.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → String?
Schema part of tableName, or null when the name is unqualified.
latefinalinherited
serverId ↔ ColumnString
The server associated with this metric.
latefinal
tableName → String
Name of the table as used in the database, optionally qualified as schema.table.
finalinherited
tableRelation → TableRelation?
Table relation for Columns of the table.
finalinherited
timestamp ↔ ColumnDateTime
The time when the connections was checked, granularity is one minute.
latefinal
unqualifiedTableName → String
tableName with the schema removed.
latefinalinherited
updateTable ↔ ServerHealthMetricUpdateTable
latefinal
value ↔ ColumnDouble
The value of the metric.
latefinal

Methods

getRelationTable(String relationField) → Table?
Returns TableColumnRelation for the given relationField. If no relation exists, returns null. The return must be dynamic to allow for relations with different id types.
inherited
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