gcp_bigquery_client::model::job_statistics2

Struct JobStatistics2

Source
pub struct JobStatistics2 {
Show 25 fields pub billing_tier: Option<i32>, pub cache_hit: Option<bool>, pub ddl_affected_row_access_policy_count: Option<String>, pub ddl_operation_performed: Option<String>, pub ddl_target_routine: Option<RoutineReference>, pub ddl_target_row_access_policy: Option<RowAccessPolicyReference>, pub ddl_target_table: Option<TableReference>, pub estimated_bytes_processed: Option<String>, pub model_training: Option<BigQueryModelTraining>, pub model_training_current_iteration: Option<i32>, pub model_training_expected_total_iteration: Option<String>, pub num_dml_affected_rows: Option<String>, pub query_plan: Option<Vec<ExplainQueryStage>>, pub referenced_routines: Option<Vec<RoutineReference>>, pub referenced_tables: Option<Vec<TableReference>>, pub reservation_usage: Option<Vec<JobStatisticsReservationUsage>>, pub schema: Option<TableSchema>, pub statement_type: Option<String>, pub timeline: Option<Vec<QueryTimelineSample>>, pub total_bytes_billed: Option<String>, pub total_bytes_processed: Option<String>, pub total_bytes_processed_accuracy: Option<String>, pub total_partitions_processed: Option<String>, pub total_slot_ms: Option<String>, pub undeclared_query_parameters: Option<Vec<QueryParameter>>,
}

Fields§

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

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

§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_routine: Option<RoutineReference>§ddl_target_row_access_policy: Option<RowAccessPolicyReference>§ddl_target_table: Option<TableReference>§estimated_bytes_processed: Option<String>

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

§model_training: Option<BigQueryModelTraining>§model_training_current_iteration: Option<i32>

[Output-only, Beta] Deprecated; do not use.

§model_training_expected_total_iteration: Option<String>

[Output-only, Beta] Deprecated; do not use.

§num_dml_affected_rows: Option<String>

[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<JobStatisticsReservationUsage>>

[Output-only] Job resource usage breakdown by reservation.

§schema: Option<TableSchema>§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<String>

[Output-only] Total bytes billed for the job.

§total_bytes_processed: Option<String>

[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<String>

[Output-only] Total number of partitions processed from all partitioned tables referenced in the job.

§total_slot_ms: Option<String>

[Output-only] Slot-milliseconds for the job.

§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

Source§

fn clone(&self) -> JobStatistics2

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 JobStatistics2

Source§

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

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

impl Default for JobStatistics2

Source§

fn default() -> JobStatistics2

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

impl<'de> Deserialize<'de> for JobStatistics2

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 Serialize for JobStatistics2

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

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 T
where 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 T
where T: Clone,

Source§

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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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

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

Source§

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

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

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T