Interface PrestoJobOrBuilder (4.14.0)

public interface PrestoJobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsProperties(String key)

public abstract boolean containsProperties(String key)

Optional. A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI

map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getClientTags(int index)

public abstract String getClientTags(int index)

Optional. Presto client tags to attach to this query

repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The clientTags at the given index.

getClientTagsBytes(int index)

public abstract ByteString getClientTagsBytes(int index)

Optional. Presto client tags to attach to this query

repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the clientTags at the given index.

getClientTagsCount()

public abstract int getClientTagsCount()

Optional. Presto client tags to attach to this query

repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of clientTags.

getClientTagsList()

public abstract List<String> getClientTagsList()

Optional. Presto client tags to attach to this query

repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the clientTags.

getContinueOnFailure()

public abstract boolean getContinueOnFailure()

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.

bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The continueOnFailure.

getLoggingConfig()

public abstract LoggingConfig getLoggingConfig()

Optional. The runtime log config for job execution.

.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LoggingConfig

The loggingConfig.

getLoggingConfigOrBuilder()

public abstract LoggingConfigOrBuilder getLoggingConfigOrBuilder()

Optional. The runtime log config for job execution.

.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LoggingConfigOrBuilder

getOutputFormat()

public abstract String getOutputFormat()

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

string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The outputFormat.

getOutputFormatBytes()

public abstract ByteString getOutputFormatBytes()

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

string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for outputFormat.

getProperties()

public abstract Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
TypeDescription
Map<String,String>

getPropertiesCount()

public abstract int getPropertiesCount()

Optional. A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI

map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getPropertiesMap()

public abstract Map<String,String> getPropertiesMap()

Optional. A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI

map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getPropertiesOrDefault(String key, String defaultValue)

public abstract String getPropertiesOrDefault(String key, String defaultValue)

Optional. A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI

map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getPropertiesOrThrow(String key)

public abstract String getPropertiesOrThrow(String key)

Optional. A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI

map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getQueriesCase()

public abstract PrestoJob.QueriesCase getQueriesCase()
Returns
TypeDescription
PrestoJob.QueriesCase

getQueryFileUri()

public abstract String getQueryFileUri()

The HCFS URI of the script that contains SQL queries.

string query_file_uri = 1;

Returns
TypeDescription
String

The queryFileUri.

getQueryFileUriBytes()

public abstract ByteString getQueryFileUriBytes()

The HCFS URI of the script that contains SQL queries.

string query_file_uri = 1;

Returns
TypeDescription
ByteString

The bytes for queryFileUri.

getQueryList()

public abstract QueryList getQueryList()

A list of queries.

.google.cloud.dataproc.v1.QueryList query_list = 2;

Returns
TypeDescription
QueryList

The queryList.

getQueryListOrBuilder()

public abstract QueryListOrBuilder getQueryListOrBuilder()

A list of queries.

.google.cloud.dataproc.v1.QueryList query_list = 2;

Returns
TypeDescription
QueryListOrBuilder

hasLoggingConfig()

public abstract boolean hasLoggingConfig()

Optional. The runtime log config for job execution.

.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the loggingConfig field is set.

hasQueryFileUri()

public abstract boolean hasQueryFileUri()

The HCFS URI of the script that contains SQL queries.

string query_file_uri = 1;

Returns
TypeDescription
boolean

Whether the queryFileUri field is set.

hasQueryList()

public abstract boolean hasQueryList()

A list of queries.

.google.cloud.dataproc.v1.QueryList query_list = 2;

Returns
TypeDescription
boolean

Whether the queryList field is set.