- 4.80.0 (latest)
- 4.79.0
- 4.78.0
- 4.77.0
- 4.75.0
- 4.73.0
- 4.72.0
- 4.71.0
- 4.70.0
- 4.69.0
- 4.67.0
- 4.65.0
- 4.64.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.57.0
- 4.56.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class SparkSqlBatch.Builder extends GeneratedMessage.Builder<SparkSqlBatch.Builder> implements SparkSqlBatchOrBuilderA configuration for running Apache Spark SQL queries as a batch workload.
Protobuf type google.cloud.dataproc.v1.SparkSqlBatch
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SparkSqlBatch.BuilderImplements
SparkSqlBatchOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllJarFileUris(Iterable<String> values)
public SparkSqlBatch.Builder addAllJarFileUris(Iterable<String> values)Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The jarFileUris to add. |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
This builder for chaining. |
addJarFileUris(String value)
public SparkSqlBatch.Builder addJarFileUris(String value)Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe jarFileUris to add. |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
This builder for chaining. |
addJarFileUrisBytes(ByteString value)
public SparkSqlBatch.Builder addJarFileUrisBytes(ByteString value)Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the jarFileUris to add. |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
This builder for chaining. |
build()
public SparkSqlBatch build()| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch |
|
buildPartial()
public SparkSqlBatch buildPartial()| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch |
|
clear()
public SparkSqlBatch.Builder clear()| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
|
clearJarFileUris()
public SparkSqlBatch.Builder clearJarFileUris()Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
This builder for chaining. |
clearQueryFileUri()
public SparkSqlBatch.Builder clearQueryFileUri()Required. The HCFS URI of the script that contains Spark SQL queries to execute.
string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
This builder for chaining. |
clearQueryVariables()
public SparkSqlBatch.Builder clearQueryVariables()| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
|
containsQueryVariables(String key)
public boolean containsQueryVariables(String key) Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";).
map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SparkSqlBatch getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJarFileUris(int index)
public String getJarFileUris(int index)Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The jarFileUris at the given index. |
getJarFileUrisBytes(int index)
public ByteString getJarFileUrisBytes(int index)Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the jarFileUris at the given index. |
getJarFileUrisCount()
public int getJarFileUrisCount()Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of jarFileUris. |
getJarFileUrisList()
public ProtocolStringList getJarFileUrisList()Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the jarFileUris. |
getMutableQueryVariables() (deprecated)
public Map<String,String> getMutableQueryVariables()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getQueryFileUri()
public String getQueryFileUri()Required. The HCFS URI of the script that contains Spark SQL queries to execute.
string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The queryFileUri. |
getQueryFileUriBytes()
public ByteString getQueryFileUriBytes()Required. The HCFS URI of the script that contains Spark SQL queries to execute.
string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for queryFileUri. |
getQueryVariables() (deprecated)
public Map<String,String> getQueryVariables()Use #getQueryVariablesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getQueryVariablesCount()
public int getQueryVariablesCount() Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";).
map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getQueryVariablesMap()
public Map<String,String> getQueryVariablesMap() Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";).
map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getQueryVariablesOrDefault(String key, String defaultValue)
public String getQueryVariablesOrDefault(String key, String defaultValue) Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";).
map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getQueryVariablesOrThrow(String key)
public String getQueryVariablesOrThrow(String key) Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";).
map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SparkSqlBatch other)
public SparkSqlBatch.Builder mergeFrom(SparkSqlBatch other)| Parameter | |
|---|---|
| Name | Description |
other |
SparkSqlBatch |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SparkSqlBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SparkSqlBatch.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
|
putAllQueryVariables(Map<String,String> values)
public SparkSqlBatch.Builder putAllQueryVariables(Map<String,String> values) Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";).
map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
|
putQueryVariables(String key, String value)
public SparkSqlBatch.Builder putQueryVariables(String key, String value) Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";).
map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
|
removeQueryVariables(String key)
public SparkSqlBatch.Builder removeQueryVariables(String key) Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";).
map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
|
setJarFileUris(int index, String value)
public SparkSqlBatch.Builder setJarFileUris(int index, String value)Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe jarFileUris to set. |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
This builder for chaining. |
setQueryFileUri(String value)
public SparkSqlBatch.Builder setQueryFileUri(String value)Required. The HCFS URI of the script that contains Spark SQL queries to execute.
string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe queryFileUri to set. |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
This builder for chaining. |
setQueryFileUriBytes(ByteString value)
public SparkSqlBatch.Builder setQueryFileUriBytes(ByteString value)Required. The HCFS URI of the script that contains Spark SQL queries to execute.
string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for queryFileUri to set. |
| Returns | |
|---|---|
| Type | Description |
SparkSqlBatch.Builder |
This builder for chaining. |