Struct google_dataproc1::api::PrestoJob[][src]

pub struct PrestoJob {
    pub client_tags: Option<Vec<String>>,
    pub continue_on_failure: Option<bool>,
    pub logging_config: Option<LoggingConfig>,
    pub output_format: Option<String>,
    pub properties: Option<HashMap<String, String>>,
    pub query_file_uri: Option<String>,
    pub query_list: Option<QueryList>,
}

A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.

This type is not used in any activity, and only used as part of another schema.

Fields

client_tags: Option<Vec<String>>

Optional. Presto client tags to attach to this query

continue_on_failure: Option<bool>

Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.

logging_config: Option<LoggingConfig>

Optional. The runtime log config for job execution.

output_format: Option<String>

Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats

properties: Option<HashMap<String, String>>

Optional. A mapping of property names to values. Used to set Presto session properties (https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the –session flag in the Presto CLI

query_file_uri: Option<String>

The HCFS URI of the script that contains SQL queries.

query_list: Option<QueryList>

A list of queries.

Trait Implementations

impl Clone for PrestoJob[src]

impl Debug for PrestoJob[src]

impl Default for PrestoJob[src]

impl<'de> Deserialize<'de> for PrestoJob[src]

impl Part for PrestoJob[src]

impl Serialize for PrestoJob[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.