Package com.google.cloud.dataproc.v1
Interface SparkSqlBatchOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SparkSqlBatch,SparkSqlBatch.Builder
public interface SparkSqlBatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsQueryVariables(String key)Optional.StringgetJarFileUris(int index)Optional.com.google.protobuf.ByteStringgetJarFileUrisBytes(int index)Optional.intgetJarFileUrisCount()Optional.List<String>getJarFileUrisList()Optional.StringgetQueryFileUri()Required.com.google.protobuf.ByteStringgetQueryFileUriBytes()Required.Map<String,String>getQueryVariables()Deprecated.intgetQueryVariablesCount()Optional.Map<String,String>getQueryVariablesMap()Optional.StringgetQueryVariablesOrDefault(String key, String defaultValue)Optional.StringgetQueryVariablesOrThrow(String key)Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getQueryFileUri
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:
- The queryFileUri.
-
getQueryFileUriBytes
com.google.protobuf.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:
- The bytes for queryFileUri.
-
getQueryVariablesCount
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];
-
containsQueryVariables
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];
-
getQueryVariables
@Deprecated Map<String,String> getQueryVariables()
Deprecated.UsegetQueryVariablesMap()instead.
-
getQueryVariablesMap
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];
-
getQueryVariablesOrDefault
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];
-
getQueryVariablesOrThrow
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];
-
getJarFileUrisList
List<String> 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:
- A list containing the jarFileUris.
-
getJarFileUrisCount
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:
- The count of jarFileUris.
-
getJarFileUris
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];- Parameters:
index- The index of the element to return.- Returns:
- The jarFileUris at the given index.
-
getJarFileUrisBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the jarFileUris at the given index.
-
-