com.pulumi.googlenative.dataproc.v1.kotlin.outputs.PigJobResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dataproc.v1.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.
* @property 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.
* @property jarFileUris Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.
* @property loggingConfig Optional. The runtime log config for job execution.
* @property properties Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.
* @property queryFileUri The HCFS URI of the script that contains the Pig queries.
* @property queryList A list of queries.
* @property scriptVariables Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).
* */
*/
public data class PigJobResponse(
public val continueOnFailure: Boolean,
public val jarFileUris: List,
public val loggingConfig: LoggingConfigResponse,
public val properties: Map,
public val queryFileUri: String,
public val queryList: QueryListResponse,
public val scriptVariables: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.dataproc.v1.outputs.PigJobResponse): PigJobResponse = PigJobResponse(
continueOnFailure = javaType.continueOnFailure(),
jarFileUris = javaType.jarFileUris().map({ args0 -> args0 }),
loggingConfig = javaType.loggingConfig().let({ args0 ->
com.pulumi.googlenative.dataproc.v1.kotlin.outputs.LoggingConfigResponse.Companion.toKotlin(args0)
}),
properties = javaType.properties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
queryFileUri = javaType.queryFileUri(),
queryList = javaType.queryList().let({ args0 ->
com.pulumi.googlenative.dataproc.v1.kotlin.outputs.QueryListResponse.Companion.toKotlin(args0)
}),
scriptVariables = javaType.scriptVariables().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy