Show / Hide Table of Contents

Class PrestoJob

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.

Inheritance
System.Object
PrestoJob
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dataproc.v1beta2.Data
Assembly: Google.Apis.Dataproc.v1beta2.dll
Syntax
public class PrestoJob : IDirectResponseSchema

Properties

ClientTags

Optional. Presto client tags to attach to this query

Declaration
[JsonProperty("clientTags")]
public virtual IList<string> ClientTags { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

ContinueOnFailure

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.

Declaration
[JsonProperty("continueOnFailure")]
public virtual bool? ContinueOnFailure { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

LoggingConfig

Optional. The runtime log config for job execution.

Declaration
[JsonProperty("loggingConfig")]
public virtual LoggingConfig LoggingConfig { get; set; }
Property Value
Type Description
LoggingConfig

OutputFormat

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

Declaration
[JsonProperty("outputFormat")]
public virtual string OutputFormat { get; set; }
Property Value
Type Description
System.String

Properties

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

Declaration
[JsonProperty("properties")]
public virtual IDictionary<string, string> Properties { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

QueryFileUri

The HCFS URI of the script that contains SQL queries.

Declaration
[JsonProperty("queryFileUri")]
public virtual string QueryFileUri { get; set; }
Property Value
Type Description
System.String

QueryList

A list of queries.

Declaration
[JsonProperty("queryList")]
public virtual QueryList QueryList { get; set; }
Property Value
Type Description
QueryList

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top