pub struct JobStatistics2 {Show 33 fields
pub bi_engine_statistics: Option<BiEngineStatistics>,
pub billing_tier: Option<i32>,
pub cache_hit: Option<bool>,
pub ddl_affected_row_access_policy_count: Option<i64>,
pub ddl_destination_table: Option<TableReference>,
pub ddl_operation_performed: Option<String>,
pub ddl_target_dataset: Option<DatasetReference>,
pub ddl_target_routine: Option<RoutineReference>,
pub ddl_target_row_access_policy: Option<RowAccessPolicyReference>,
pub ddl_target_table: Option<TableReference>,
pub dml_stats: Option<DmlStatistics>,
pub estimated_bytes_processed: Option<i64>,
pub ml_statistics: Option<MlStatistics>,
pub model_training: Option<BigQueryModelTraining>,
pub model_training_current_iteration: Option<i32>,
pub model_training_expected_total_iteration: Option<i64>,
pub num_dml_affected_rows: Option<i64>,
pub query_plan: Option<Vec<ExplainQueryStage>>,
pub referenced_routines: Option<Vec<RoutineReference>>,
pub referenced_tables: Option<Vec<TableReference>>,
pub reservation_usage: Option<Vec<JobStatistics2ReservationUsage>>,
pub schema: Option<TableSchema>,
pub search_statistics: Option<SearchStatistics>,
pub spark_statistics: Option<SparkStatistics>,
pub statement_type: Option<String>,
pub timeline: Option<Vec<QueryTimelineSample>>,
pub total_bytes_billed: Option<i64>,
pub total_bytes_processed: Option<i64>,
pub total_bytes_processed_accuracy: Option<String>,
pub total_partitions_processed: Option<i64>,
pub total_slot_ms: Option<i64>,
pub transferred_bytes: Option<i64>,
pub undeclared_query_parameters: Option<Vec<QueryParameter>>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bi_engine_statistics: Option<BiEngineStatistics>
BI Engine specific Statistics. [Output only] BI Engine specific Statistics.
billing_tier: Option<i32>
[Output only] Billing tier for the job.
cache_hit: Option<bool>
[Output only] Whether the query result was fetched from the query cache.
ddl_affected_row_access_policy_count: Option<i64>
[Output only] [Preview] The number of row access policies affected by a DDL statement. Present only for DROP ALL ROW ACCESS POLICIES queries.
ddl_destination_table: Option<TableReference>
[Output only] The DDL destination table. Present only for ALTER TABLE RENAME TO queries. Note that ddl_target_table is used just for its type information.
ddl_operation_performed: Option<String>
The DDL operation performed, possibly dependent on the pre-existence of the DDL target. Possible values (new values might be added in the future): “CREATE”: The query created the DDL target. “SKIP”: No-op. Example cases: the query is CREATE TABLE IF NOT EXISTS while the table already exists, or the query is DROP TABLE IF EXISTS while the table does not exist. “REPLACE”: The query replaced the DDL target. Example case: the query is CREATE OR REPLACE TABLE, and the table already exists. “DROP”: The query deleted the DDL target.
ddl_target_dataset: Option<DatasetReference>
[Output only] The DDL target dataset. Present only for CREATE/ALTER/DROP SCHEMA queries.
ddl_target_routine: Option<RoutineReference>
The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE queries.
ddl_target_row_access_policy: Option<RowAccessPolicyReference>
[Output only] [Preview] The DDL target row access policy. Present only for CREATE/DROP ROW ACCESS POLICY queries.
ddl_target_table: Option<TableReference>
[Output only] The DDL target table. Present only for CREATE/DROP TABLE/VIEW and DROP ALL ROW ACCESS POLICIES queries.
dml_stats: Option<DmlStatistics>
[Output only] Detailed statistics for DML statements Present only for DML statements INSERT, UPDATE, DELETE or TRUNCATE.
estimated_bytes_processed: Option<i64>
[Output only] The original estimate of bytes processed for the job.
ml_statistics: Option<MlStatistics>
[Output only] Statistics of a BigQuery ML training job.
model_training: Option<BigQueryModelTraining>
[Output only, Beta] Information about create model query job progress.
model_training_current_iteration: Option<i32>
[Output only, Beta] Deprecated; do not use.
model_training_expected_total_iteration: Option<i64>
[Output only, Beta] Deprecated; do not use.
num_dml_affected_rows: Option<i64>
[Output only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.
query_plan: Option<Vec<ExplainQueryStage>>
[Output only] Describes execution plan for the query.
referenced_routines: Option<Vec<RoutineReference>>
[Output only] Referenced routines (persistent user-defined functions and stored procedures) for the job.
referenced_tables: Option<Vec<TableReference>>
[Output only] Referenced tables for the job. Queries that reference more than 50 tables will not have a complete list.
reservation_usage: Option<Vec<JobStatistics2ReservationUsage>>
[Output only] Job resource usage breakdown by reservation.
schema: Option<TableSchema>
[Output only] The schema of the results. Present only for successful dry run of non-legacy SQL queries.
search_statistics: Option<SearchStatistics>
[Output only] Search query specific statistics.
spark_statistics: Option<SparkStatistics>
[Output only] Statistics of a Spark procedure job.
statement_type: Option<String>
The type of query statement, if valid. Possible values (new values might be added in the future): “SELECT”: SELECT query. “INSERT”: INSERT query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. “UPDATE”: UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. “DELETE”: DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. “MERGE”: MERGE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. “ALTER_TABLE”: ALTER TABLE query. “ALTER_VIEW”: ALTER VIEW query. “ASSERT”: ASSERT condition AS ‘description’. “CREATE_FUNCTION”: CREATE FUNCTION query. “CREATE_MODEL”: CREATE [OR REPLACE] MODEL … AS SELECT … . “CREATE_PROCEDURE”: CREATE PROCEDURE query. “CREATE_TABLE”: CREATE [OR REPLACE] TABLE without AS SELECT. “CREATE_TABLE_AS_SELECT”: CREATE [OR REPLACE] TABLE … AS SELECT … . “CREATE_VIEW”: CREATE [OR REPLACE] VIEW … AS SELECT … . “DROP_FUNCTION” : DROP FUNCTION query. “DROP_PROCEDURE”: DROP PROCEDURE query. “DROP_TABLE”: DROP TABLE query. “DROP_VIEW”: DROP VIEW query.
timeline: Option<Vec<QueryTimelineSample>>
[Output only] [Beta] Describes a timeline of job execution.
total_bytes_billed: Option<i64>
[Output only] Total bytes billed for the job.
total_bytes_processed: Option<i64>
[Output only] Total bytes processed for the job.
total_bytes_processed_accuracy: Option<String>
[Output only] For dry-run jobs, totalBytesProcessed is an estimate and this field specifies the accuracy of the estimate. Possible values can be: UNKNOWN: accuracy of the estimate is unknown. PRECISE: estimate is precise. LOWER_BOUND: estimate is lower bound of what the query would cost. UPPER_BOUND: estimate is upper bound of what the query would cost.
total_partitions_processed: Option<i64>
[Output only] Total number of partitions processed from all partitioned tables referenced in the job.
total_slot_ms: Option<i64>
[Output only] Slot-milliseconds for the job.
transferred_bytes: Option<i64>
[Output-only] Total bytes transferred for cross-cloud queries such as Cross Cloud Transfer and CREATE TABLE AS SELECT (CTAS).
undeclared_query_parameters: Option<Vec<QueryParameter>>
Standard SQL only: list of undeclared query parameters detected during a dry run validation.
Trait Implementations§
Source§impl Clone for JobStatistics2
impl Clone for JobStatistics2
Source§fn clone(&self) -> JobStatistics2
fn clone(&self) -> JobStatistics2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for JobStatistics2
impl Debug for JobStatistics2
Source§impl Default for JobStatistics2
impl Default for JobStatistics2
Source§fn default() -> JobStatistics2
fn default() -> JobStatistics2
Source§impl<'de> Deserialize<'de> for JobStatistics2
impl<'de> Deserialize<'de> for JobStatistics2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for JobStatistics2
impl Serialize for JobStatistics2
impl Part for JobStatistics2
Auto Trait Implementations§
impl Freeze for JobStatistics2
impl RefUnwindSafe for JobStatistics2
impl Send for JobStatistics2
impl Sync for JobStatistics2
impl Unpin for JobStatistics2
impl UnwindSafe for JobStatistics2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more