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