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 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];
      • 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.