pub struct JobStatisticsQuery {
Show 33 fields pub query_plan: Option<Vec<ExplainQueryStage>>, pub estimated_bytes_processed: Option<i64>, pub timeline: Option<Vec<QueryTimelineSample>>, pub total_partitions_processed: Option<i64>, pub total_bytes_processed: Option<i64>, pub total_bytes_processed_accuracy: Option<String>, pub total_bytes_billed: Option<i64>, pub billing_tier: Option<i32>, pub total_slot_ms: Option<i64>, pub cache_hist: Option<bool>, pub referenced_tables: Option<Vec<TableReference>>, pub referenced_routines: Option<Vec<RoutineReference>>, pub schema: Option<TableSchema>, pub num_dml_affected_rows: Option<i64>, pub dml_stats: Option<DmlStats>, pub undeclared_query_parameters: Option<Vec<QueryParameter>>, pub statement_type: Option<String>, pub ddl_operation_performed: Option<String>, pub ddl_target_table: Option<TableReference>, pub ddl_target_row_access_policy: Option<RowAccessPolicyReference>, pub ddl_affected_row_access_policy_count: Option<i64>, pub ddl_target_routine: Option<RoutineReference>, pub ml_statistics: Option<MlStatistics>, pub export_data_statistics: Option<ExportDataStatistics>, pub external_service_costs: Option<Vec<ExternalServiceCost>>, pub bi_engine_statistics: Option<BiEngineStatistics>, pub load_query_statistics: Option<LoadQueryStatistics>, pub dcl_target_table: Option<TableReference>, pub dcl_target_view: Option<TableReference>, pub search_statistics: Option<SearchStatistics>, pub performance_insights: Option<PerformanceInsights>, pub spark_statistics: Option<SparkStatistics>, pub transferred_bytes: Option<i64>,
}

Fields§

§query_plan: Option<Vec<ExplainQueryStage>>

Output only. Describes execution plan for the query.

§estimated_bytes_processed: Option<i64>

Output only. The original estimate of bytes processed for the job.

§timeline: Option<Vec<QueryTimelineSample>>

Output only. Describes a timeline of job execution.

§total_partitions_processed: Option<i64>

Output only. Total number of partitions processed from all partitioned tables referenced in 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_bytes_billed: Option<i64>

Output only. If the project is configured to use on-demand pricing, then this field contains the total bytes billed for the job. If the project is configured to use flat-rate pricing, then you are not billed for bytes and this field is informational only.

§billing_tier: Option<i32>

Output only. Billing tier for the job. This is a BigQuery-specific concept which is not related to the GCP notion of “free tier”. The value here is a measure of the query’s resource consumption relative to the amount of data scanned. For on-demand queries, the limit is 100, and all queries within this limit are billed at the standard on-demand rates. On-demand queries that exceed this limit will fail with a billingTierLimitExceeded error.

§total_slot_ms: Option<i64>

Output only. Slot-milliseconds for the job.

§cache_hist: Option<bool>

Output only. Whether the query result was fetched from the query cache.

§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.

§referenced_routines: Option<Vec<RoutineReference>>

Output only. Referenced routines for the job.

§schema: Option<TableSchema>

Output only. The schema of the results. Present only for successful dry run of non-legacy SQL queries.

§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.

§dml_stats: Option<DmlStats>

Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE

§undeclared_query_parameters: Option<Vec<QueryParameter>>

Output only. GoogleSQL only: list of undeclared query parameters detected during a dry run validation

§statement_type: Option<String>

Output only. The type of query statement, if valid. Possible values: SELECT: SELECT statement. INSERT: INSERT statement. UPDATE: UPDATE statement. DELETE: DELETE statement. MERGE: MERGE statement. ALTER_TABLE: ALTER TABLE statement. ALTER_VIEW: ALTER VIEW statement. ASSERT: ASSERT statement. CREATE_FUNCTION: CREATE FUNCTION statement. CREATE_MODEL: CREATE MODEL statement. CREATE_PROCEDURE: CREATE PROCEDURE statement. CREATE_ROW_ACCESS_POLICY: CREATE ROW ACCESS POLICY statement. CREATE_TABLE: CREATE TABLE statement, without AS SELECT. CREATE_TABLE_AS_SELECT: CREATE TABLE AS SELECT statement. CREATE_VIEW: CREATE VIEW statement. DROP_FUNCTION : DROP FUNCTION statement. DROP_PROCEDURE: DROP PROCEDURE statement. DROP_ROW_ACCESS_POLICY: DROP [ALL] ROW ACCESS POLICY|POLICIES statement. DROP_TABLE: DROP TABLE statement. DROP_VIEW: DROP VIEW statement. EXPORT_MODEL: EXPORT MODEL statement. LOAD_DATA: LOAD DATA statement.

§ddl_operation_performed: Option<String>

Output only. The DDL operation performed, possibly dependent on the pre-existence of the DDL target.

§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.

§ddl_target_row_access_policy: Option<RowAccessPolicyReference>

Output only. The DDL target row access policy. Present only for CREATE/DROP ROW ACCESS POLICY queries.

§ddl_affected_row_access_policy_count: Option<i64>

Output only. The number of row access policies affected by a DDL statement. Present only for DROP ALL ROW ACCESS POLICIES queries.

§ddl_target_routine: Option<RoutineReference>

Output only. [Beta] The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE queries.

§ml_statistics: Option<MlStatistics>

Output only. Statistics of a BigQuery ML training job.

§export_data_statistics: Option<ExportDataStatistics>

Output only. Stats for EXPORT DATA statement.

§external_service_costs: Option<Vec<ExternalServiceCost>>

Output only. Job cost breakdown as bigquery internal cost and external service costs.

§bi_engine_statistics: Option<BiEngineStatistics>

Output only. BI Engine specific Statistics.

§load_query_statistics: Option<LoadQueryStatistics>

Output only. Statistics for a LOAD query.

§dcl_target_table: Option<TableReference>

Output only. Referenced table for DCL statement.

§dcl_target_view: Option<TableReference>

Output only. Referenced view for DCL statement.

§search_statistics: Option<SearchStatistics>

Output only. Search query specific statistics.

§performance_insights: Option<PerformanceInsights>

Output only. Performance insights.

§spark_statistics: Option<SparkStatistics>

Output only. Statistics of a Spark procedure 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).

Trait Implementations§

source§

impl Clone for JobStatisticsQuery

source§

fn clone(&self) -> JobStatisticsQuery

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for JobStatisticsQuery

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for JobStatisticsQuery

source§

fn default() -> JobStatisticsQuery

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for JobStatisticsQuery

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<JobStatisticsQuery> for JobStatisticsQuery

source§

fn eq(&self, other: &JobStatisticsQuery) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for JobStatisticsQuery

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for JobStatisticsQuery

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for Twhere T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoRequest<T> for T

source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
§

impl<T> Allocation for Twhere T: RefUnwindSafe + Send + Sync,

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,