com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplateJobHiveJob.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataproc.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property continueOnFailure 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 HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
* @property properties A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
* @property queryFileUri The HCFS URI of the script that contains Hive queries.
* @property queryList A list of queries.
* @property scriptVariables Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
* */
*/
public data class WorkflowTemplateJobHiveJob(
public val continueOnFailure: Boolean? = null,
public val jarFileUris: List? = null,
public val properties: Map? = null,
public val queryFileUri: String? = null,
public val queryList: WorkflowTemplateJobHiveJobQueryList? = null,
public val scriptVariables: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.WorkflowTemplateJobHiveJob): WorkflowTemplateJobHiveJob = WorkflowTemplateJobHiveJob(
continueOnFailure = javaType.continueOnFailure().map({ args0 -> args0 }).orElse(null),
jarFileUris = javaType.jarFileUris().map({ args0 -> args0 }),
properties = javaType.properties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
queryFileUri = javaType.queryFileUri().map({ args0 -> args0 }).orElse(null),
queryList = javaType.queryList().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplateJobHiveJobQueryList.Companion.toKotlin(args0)
})
}).orElse(null),
scriptVariables = javaType.scriptVariables().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy