JobStatistics2 class

Statistics for a query job.

Constructors

JobStatistics2({BiEngineStatistics? biEngineStatistics, int? billingTier, bool? cacheHit, DatasetReference? dclTargetDataset, TableReference? dclTargetTable, TableReference? dclTargetView, String? ddlAffectedRowAccessPolicyCount, TableReference? ddlDestinationTable, String? ddlOperationPerformed, DatasetReference? ddlTargetDataset, RoutineReference? ddlTargetRoutine, RowAccessPolicyReference? ddlTargetRowAccessPolicy, TableReference? ddlTargetTable, DmlStatistics? dmlStats, String? estimatedBytesProcessed, ExportDataStatistics? exportDataStatistics, List<ExternalServiceCost>? externalServiceCosts, LoadQueryStatistics? loadQueryStatistics, MaterializedViewStatistics? materializedViewStatistics, MetadataCacheStatistics? metadataCacheStatistics, MlStatistics? mlStatistics, BigQueryModelTraining? modelTraining, int? modelTrainingCurrentIteration, String? modelTrainingExpectedTotalIteration, String? numDmlAffectedRows, PerformanceInsights? performanceInsights, QueryInfo? queryInfo, List<ExplainQueryStage>? queryPlan, List<RoutineReference>? referencedRoutines, List<TableReference>? referencedTables, List<JobStatistics2ReservationUsage>? reservationUsage, TableSchema? schema, SearchStatistics? searchStatistics, SparkStatistics? sparkStatistics, String? statementType, List<QueryTimelineSample>? timeline, String? totalBytesBilled, String? totalBytesProcessed, String? totalBytesProcessedAccuracy, String? totalPartitionsProcessed, String? totalSlotMs, String? transferredBytes, List<QueryParameter>? undeclaredQueryParameters, VectorSearchStatistics? vectorSearchStatistics})
JobStatistics2.fromJson(Map json_)

Properties

biEngineStatistics BiEngineStatistics?
BI Engine specific Statistics.
getter/setter pair
billingTier int?
Billing tier for the job.
getter/setter pair
cacheHit bool?
Whether the query result was fetched from the query cache.
getter/setter pair
dclTargetDataset DatasetReference?
Referenced dataset for DCL statement.
getter/setter pair
dclTargetTable TableReference?
Referenced table for DCL statement.
getter/setter pair
dclTargetView TableReference?
Referenced view for DCL statement.
getter/setter pair
ddlAffectedRowAccessPolicyCount String?
The number of row access policies affected by a DDL statement.
getter/setter pair
ddlDestinationTable TableReference?
The table after rename.
getter/setter pair
ddlOperationPerformed String?
The DDL operation performed, possibly dependent on the pre-existence of the DDL target.
getter/setter pair
ddlTargetDataset DatasetReference?
The DDL target dataset.
getter/setter pair
ddlTargetRoutine RoutineReference?
[Beta] The DDL target routine.
getter/setter pair
ddlTargetRowAccessPolicy RowAccessPolicyReference?
The DDL target row access policy.
getter/setter pair
ddlTargetTable TableReference?
The DDL target table.
getter/setter pair
dmlStats DmlStatistics?
Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.
getter/setter pair
estimatedBytesProcessed String?
The original estimate of bytes processed for the job.
getter/setter pair
exportDataStatistics ExportDataStatistics?
Stats for EXPORT DATA statement.
getter/setter pair
externalServiceCosts List<ExternalServiceCost>?
Job cost breakdown as bigquery internal cost and external service costs.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
loadQueryStatistics LoadQueryStatistics?
Statistics for a LOAD query.
getter/setter pair
materializedViewStatistics MaterializedViewStatistics?
Statistics of materialized views of a query job.
getter/setter pair
metadataCacheStatistics MetadataCacheStatistics?
Statistics of metadata cache usage in a query for BigLake tables.
getter/setter pair
mlStatistics MlStatistics?
Statistics of a BigQuery ML training job.
getter/setter pair
modelTraining BigQueryModelTraining?
Deprecated.
getter/setter pair
modelTrainingCurrentIteration int?
Deprecated.
getter/setter pair
modelTrainingExpectedTotalIteration String?
Deprecated.
getter/setter pair
numDmlAffectedRows String?
The number of rows affected by a DML statement.
getter/setter pair
performanceInsights PerformanceInsights?
Performance insights.
getter/setter pair
queryInfo QueryInfo?
Query optimization information for a QUERY job.
getter/setter pair
queryPlan List<ExplainQueryStage>?
Describes execution plan for the query.
getter/setter pair
referencedRoutines List<RoutineReference>?
Referenced routines for the job.
getter/setter pair
referencedTables List<TableReference>?
Referenced tables for the job.
getter/setter pair
reservationUsage List<JobStatistics2ReservationUsage>?
Job resource usage breakdown by reservation.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema TableSchema?
The schema of the results.
getter/setter pair
searchStatistics SearchStatistics?
Search query specific statistics.
getter/setter pair
sparkStatistics SparkStatistics?
Statistics of a Spark procedure job.
getter/setter pair
statementType String?
The type of query statement, if valid.
getter/setter pair
timeline List<QueryTimelineSample>?
Describes a timeline of job execution.
getter/setter pair
totalBytesBilled String?
If the project is configured to use on-demand pricing, then this field contains the total bytes billed for the job.
getter/setter pair
totalBytesProcessed String?
Total bytes processed for the job.
getter/setter pair
totalBytesProcessedAccuracy String?
For dry-run jobs, totalBytesProcessed is an estimate and this field specifies the accuracy of the estimate.
getter/setter pair
totalPartitionsProcessed String?
Total number of partitions processed from all partitioned tables referenced in the job.
getter/setter pair
totalSlotMs String?
Slot-milliseconds for the job.
getter/setter pair
transferredBytes String?
Total bytes transferred for cross-cloud queries such as Cross Cloud Transfer and CREATE TABLE AS SELECT (CTAS).
getter/setter pair
undeclaredQueryParameters List<QueryParameter>?
GoogleSQL only: list of undeclared query parameters detected during a dry run validation.
getter/setter pair
vectorSearchStatistics VectorSearchStatistics?
Vector Search query specific statistics.
getter/setter pair

Methods

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

Operators

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