Class SparkSqlBatch

public sealed class SparkSqlBatch : IMessage<SparkSqlBatch>, IEquatable<SparkSqlBatch>, IDeepCloneable<SparkSqlBatch>, IBufferMessage, IMessage

A configuration for running Apache Spark SQL queries as a batch workload.

Inheritance

Object > SparkSqlBatch

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

SparkSqlBatch()

public SparkSqlBatch()

SparkSqlBatch(SparkSqlBatch)

public SparkSqlBatch(SparkSqlBatch other)
Parameter
NameDescription
otherSparkSqlBatch

Properties

JarFileUris

public RepeatedField<string> JarFileUris { get; }

Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.

Property Value
TypeDescription
RepeatedField<String>

QueryFileUri

public string QueryFileUri { get; set; }

Required. The HCFS URI of the script that contains Spark SQL queries to execute.

Property Value
TypeDescription
String

QueryVariables

public MapField<string, string> QueryVariables { get; }

Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=&quot;value&quot;;).

Property Value
TypeDescription
MapField<String, String>