public static class JobStatistics.QueryStatistics extends JobStatistics
Modifier and Type | Class and Description |
---|---|
static class |
JobStatistics.QueryStatistics.StatementType
StatementType represents possible types of SQL statements reported as part of the
QueryStatistics of a BigQuery job.
|
JobStatistics.CopyStatistics, JobStatistics.ExtractStatistics, JobStatistics.LoadStatistics, JobStatistics.QueryStatistics, JobStatistics.ReservationUsage, JobStatistics.ScriptStatistics, JobStatistics.SessionInfo, JobStatistics.TransactionInfo
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BiEngineStats |
getBiEngineStats()
Returns query statistics specific to the use of BI Engine.
|
Integer |
getBillingTier()
Returns the billing tier for the job.
|
Boolean |
getCacheHit()
Returns whether the query result was fetched from the query cache.
|
String |
getDdlOperationPerformed()
[BETA] For DDL queries, returns the operation applied to the DDL target table.
|
RoutineId |
getDdlTargetRoutine()
[BETA] For DDL queries, returns the RoutineId of the targeted routine.
|
TableId |
getDdlTargetTable()
[BETA] For DDL queries, returns the TableID of the targeted table.
|
DmlStats |
getDmlStats()
Detailed statistics for DML statements.
|
Long |
getEstimatedBytesProcessed()
The original estimate of bytes processed for the job.
|
Long |
getNumDmlAffectedRows()
The number of rows affected by a DML statement.
|
List<com.google.api.services.bigquery.model.QueryParameter> |
getQueryParameters()
Standard SQL only: Returns a list of undeclared query parameters detected during a dry run
validation.
|
List<QueryStage> |
getQueryPlan()
Returns the query plan as a list of stages or
null if a query plan is not available. |
List<TableId> |
getReferencedTables()
Referenced tables for the job.
|
Schema |
getSchema()
Returns the schema for the query result.
|
JobStatistics.QueryStatistics.StatementType |
getStatementType()
[BETA] The type of query statement, if valid.
|
List<TimelineSample> |
getTimeline()
Return the timeline for the query, as a list of timeline samples.
|
Long |
getTotalBytesBilled()
Returns the total number of bytes billed for the job.
|
Long |
getTotalBytesProcessed()
Returns the total number of bytes processed by the job.
|
Long |
getTotalPartitionsProcessed()
Total number of partitions processed from all partitioned tables referenced in the job.
|
Long |
getTotalSlotMs()
Returns the slot-milliseconds consumed by the query.
|
int |
hashCode() |
getCreationTime, getEndTime, getNumChildJobs, getParentJobId, getReservationUsage, getScriptStatistics, getSessionInfo, getStartTime, getTransactionInfo, toString
public BiEngineStats getBiEngineStats()
public Integer getBillingTier()
public Boolean getCacheHit()
public String getDdlOperationPerformed()
public TableId getDdlTargetTable()
public RoutineId getDdlTargetRoutine()
public Long getEstimatedBytesProcessed()
public Long getNumDmlAffectedRows()
public DmlStats getDmlStats()
public List<TableId> getReferencedTables()
public JobStatistics.QueryStatistics.StatementType getStatementType()
public Long getTotalBytesBilled()
public Long getTotalBytesProcessed()
public Long getTotalPartitionsProcessed()
public Long getTotalSlotMs()
public List<QueryStage> getQueryPlan()
null
if a query plan is not available.
Each stage involves a number of steps that read from data sources, perform a series of
transformations on the input, and emit an output to a future stage (or the final result). The
query plan is available for a completed query job and is retained for 7 days.public List<TimelineSample> getTimeline()
public Schema getSchema()
public List<com.google.api.services.bigquery.model.QueryParameter> getQueryParameters()
Copyright © 2023 Google LLC. All rights reserved.