public sealed class SparkSqlBatch : IMessage<SparkSqlBatch>, IEquatable<SparkSqlBatch>, IDeepCloneable<SparkSqlBatch>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class SparkSqlBatch.
A configuration for running Apache Spark SQL queries as a batch workload.
Implements
IMessageSparkSqlBatch, IEquatableSparkSqlBatch, IDeepCloneableSparkSqlBatch, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.DataprocV1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
SparkSqlBatch()
public SparkSqlBatch()
SparkSqlBatch(SparkSqlBatch)
public SparkSqlBatch(SparkSqlBatch other)
Parameter | |
---|---|
Name | Description |
other | SparkSqlBatch |
Properties
JarFileUris
public RepeatedField<string> JarFileUris { get; }
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
QueryFileUri
public string QueryFileUri { get; set; }
Required. The HCFS URI of the script that contains Spark SQL queries to execute.
Property Value | |
---|---|
Type | Description |
string |
QueryVariables
public MapField<string, string> QueryVariables { get; }
Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";
).
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |