public final class PrestoJob extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Dataproc API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PrestoJob() |
Modifier and Type | Method and Description |
---|---|
PrestoJob |
clone() |
List<String> |
getClientTags()
Optional.
|
Boolean |
getContinueOnFailure()
Optional.
|
LoggingConfig |
getLoggingConfig()
Optional.
|
String |
getOutputFormat()
Optional.
|
Map<String,String> |
getProperties()
Optional.
|
String |
getQueryFileUri()
The HCFS URI of the script that contains SQL queries.
|
QueryList |
getQueryList()
A list of queries.
|
PrestoJob |
set(String fieldName,
Object value) |
PrestoJob |
setClientTags(List<String> clientTags)
Optional.
|
PrestoJob |
setContinueOnFailure(Boolean continueOnFailure)
Optional.
|
PrestoJob |
setLoggingConfig(LoggingConfig loggingConfig)
Optional.
|
PrestoJob |
setOutputFormat(String outputFormat)
Optional.
|
PrestoJob |
setProperties(Map<String,String> properties)
Optional.
|
PrestoJob |
setQueryFileUri(String queryFileUri)
The HCFS URI of the script that contains SQL queries.
|
PrestoJob |
setQueryList(QueryList queryList)
A list of queries.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<String> getClientTags()
null
for nonepublic PrestoJob setClientTags(List<String> clientTags)
clientTags
- clientTags or null
for nonepublic Boolean getContinueOnFailure()
null
for nonepublic PrestoJob setContinueOnFailure(Boolean continueOnFailure)
continueOnFailure
- continueOnFailure or null
for nonepublic LoggingConfig getLoggingConfig()
null
for nonepublic PrestoJob setLoggingConfig(LoggingConfig loggingConfig)
loggingConfig
- loggingConfig or null
for nonepublic String getOutputFormat()
null
for nonepublic PrestoJob setOutputFormat(String outputFormat)
outputFormat
- outputFormat or null
for nonepublic Map<String,String> getProperties()
null
for nonepublic PrestoJob setProperties(Map<String,String> properties)
properties
- properties or null
for nonepublic String getQueryFileUri()
null
for nonepublic PrestoJob setQueryFileUri(String queryFileUri)
queryFileUri
- queryFileUri or null
for nonepublic QueryList getQueryList()
null
for nonepublic PrestoJob setQueryList(QueryList queryList)
queryList
- queryList or null
for nonepublic PrestoJob set(String fieldName, Object value)
set
in class GenericJson
public PrestoJob clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.