Struct gapi_grpc::google::cloud::bigquery::logging::v1::job_configuration::Query[][src]

pub struct Query {
    pub query: String,
    pub destination_table: Option<TableName>,
    pub create_disposition: String,
    pub write_disposition: String,
    pub default_dataset: Option<DatasetName>,
    pub table_definitions: Vec<TableDefinition>,
    pub query_priority: String,
    pub destination_table_encryption: Option<EncryptionInfo>,
    pub statement_type: String,
}

Describes a query job, which executes a SQL-like query.

Fields

query: String

The SQL query to run.

destination_table: Option<TableName>

The table where results are written.

create_disposition: String

Describes when a job is allowed to create a table: CREATE_IF_NEEDED, CREATE_NEVER.

write_disposition: String

Describes how writes affect existing tables: WRITE_TRUNCATE, WRITE_APPEND, WRITE_EMPTY.

default_dataset: Option<DatasetName>

If a table name is specified without a dataset in a query, this dataset will be added to table name.

table_definitions: Vec<TableDefinition>

Describes data sources outside BigQuery, if needed.

query_priority: String

Describes the priority given to the query: QUERY_INTERACTIVE or QUERY_BATCH.

destination_table_encryption: Option<EncryptionInfo>

Result table encryption information. Set when non-default encryption is used.

statement_type: String

Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..)

Trait Implementations

impl Clone for Query[src]

impl Debug for Query[src]

impl Default for Query[src]

impl Message for Query[src]

impl PartialEq<Query> for Query[src]

impl StructuralPartialEq for Query[src]

Auto Trait Implementations

impl RefUnwindSafe for Query

impl Send for Query

impl Sync for Query

impl Unpin for Query

impl UnwindSafe for Query

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]