public final class SparkSqlJob 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 |
---|
SparkSqlJob() |
Modifier and Type | Method and Description |
---|---|
SparkSqlJob |
clone() |
List<String> |
getJarFileUris()
Optional.
|
LoggingConfig |
getLoggingConfig()
Optional.
|
Map<String,String> |
getProperties()
Optional.
|
String |
getQueryFileUri()
The HCFS URI of the script that contains SQL queries.
|
QueryList |
getQueryList()
A list of queries.
|
Map<String,String> |
getScriptVariables()
Optional.
|
SparkSqlJob |
set(String fieldName,
Object value) |
SparkSqlJob |
setJarFileUris(List<String> jarFileUris)
Optional.
|
SparkSqlJob |
setLoggingConfig(LoggingConfig loggingConfig)
Optional.
|
SparkSqlJob |
setProperties(Map<String,String> properties)
Optional.
|
SparkSqlJob |
setQueryFileUri(String queryFileUri)
The HCFS URI of the script that contains SQL queries.
|
SparkSqlJob |
setQueryList(QueryList queryList)
A list of queries.
|
SparkSqlJob |
setScriptVariables(Map<String,String> scriptVariables)
Optional.
|
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> getJarFileUris()
null
for nonepublic SparkSqlJob setJarFileUris(List<String> jarFileUris)
jarFileUris
- jarFileUris or null
for nonepublic LoggingConfig getLoggingConfig()
null
for nonepublic SparkSqlJob setLoggingConfig(LoggingConfig loggingConfig)
loggingConfig
- loggingConfig or null
for nonepublic Map<String,String> getProperties()
null
for nonepublic SparkSqlJob setProperties(Map<String,String> properties)
properties
- properties or null
for nonepublic String getQueryFileUri()
null
for nonepublic SparkSqlJob setQueryFileUri(String queryFileUri)
queryFileUri
- queryFileUri or null
for nonepublic QueryList getQueryList()
null
for nonepublic SparkSqlJob setQueryList(QueryList queryList)
queryList
- queryList or null
for nonepublic Map<String,String> getScriptVariables()
null
for nonepublic SparkSqlJob setScriptVariables(Map<String,String> scriptVariables)
scriptVariables
- scriptVariables or null
for nonepublic SparkSqlJob set(String fieldName, Object value)
set
in class GenericJson
public SparkSqlJob clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.