Class SparkRequest


  • public final class SparkRequest
    extends Object
    The SparkRequest model.
    • Constructor Detail

      • SparkRequest

        public SparkRequest()
    • Method Detail

      • getName

        public String getName()
        Get the name property: The name property.
        Returns:
        the name value.
      • setName

        public SparkRequest setName​(String name)
        Set the name property: The name property.
        Parameters:
        name - the name value to set.
        Returns:
        the SparkRequest object itself.
      • getFile

        public String getFile()
        Get the file property: The file property.
        Returns:
        the file value.
      • setFile

        public SparkRequest setFile​(String file)
        Set the file property: The file property.
        Parameters:
        file - the file value to set.
        Returns:
        the SparkRequest object itself.
      • getClassName

        public String getClassName()
        Get the className property: The className property.
        Returns:
        the className value.
      • setClassName

        public SparkRequest setClassName​(String className)
        Set the className property: The className property.
        Parameters:
        className - the className value to set.
        Returns:
        the SparkRequest object itself.
      • getArguments

        public List<String> getArguments()
        Get the arguments property: The args property.
        Returns:
        the arguments value.
      • setArguments

        public SparkRequest setArguments​(List<String> arguments)
        Set the arguments property: The args property.
        Parameters:
        arguments - the arguments value to set.
        Returns:
        the SparkRequest object itself.
      • getJars

        public List<String> getJars()
        Get the jars property: The jars property.
        Returns:
        the jars value.
      • setJars

        public SparkRequest setJars​(List<String> jars)
        Set the jars property: The jars property.
        Parameters:
        jars - the jars value to set.
        Returns:
        the SparkRequest object itself.
      • getPythonFiles

        public List<String> getPythonFiles()
        Get the pythonFiles property: The pyFiles property.
        Returns:
        the pythonFiles value.
      • setPythonFiles

        public SparkRequest setPythonFiles​(List<String> pythonFiles)
        Set the pythonFiles property: The pyFiles property.
        Parameters:
        pythonFiles - the pythonFiles value to set.
        Returns:
        the SparkRequest object itself.
      • getFiles

        public List<String> getFiles()
        Get the files property: The files property.
        Returns:
        the files value.
      • setFiles

        public SparkRequest setFiles​(List<String> files)
        Set the files property: The files property.
        Parameters:
        files - the files value to set.
        Returns:
        the SparkRequest object itself.
      • getArchives

        public List<String> getArchives()
        Get the archives property: The archives property.
        Returns:
        the archives value.
      • setArchives

        public SparkRequest setArchives​(List<String> archives)
        Set the archives property: The archives property.
        Parameters:
        archives - the archives value to set.
        Returns:
        the SparkRequest object itself.
      • getConfiguration

        public Map<String,​String> getConfiguration()
        Get the configuration property: Dictionary of <string>.
        Returns:
        the configuration value.
      • setConfiguration

        public SparkRequest setConfiguration​(Map<String,​String> configuration)
        Set the configuration property: Dictionary of <string>.
        Parameters:
        configuration - the configuration value to set.
        Returns:
        the SparkRequest object itself.
      • getDriverMemory

        public String getDriverMemory()
        Get the driverMemory property: The driverMemory property.
        Returns:
        the driverMemory value.
      • setDriverMemory

        public SparkRequest setDriverMemory​(String driverMemory)
        Set the driverMemory property: The driverMemory property.
        Parameters:
        driverMemory - the driverMemory value to set.
        Returns:
        the SparkRequest object itself.
      • getDriverCores

        public Integer getDriverCores()
        Get the driverCores property: The driverCores property.
        Returns:
        the driverCores value.
      • setDriverCores

        public SparkRequest setDriverCores​(Integer driverCores)
        Set the driverCores property: The driverCores property.
        Parameters:
        driverCores - the driverCores value to set.
        Returns:
        the SparkRequest object itself.
      • getExecutorMemory

        public String getExecutorMemory()
        Get the executorMemory property: The executorMemory property.
        Returns:
        the executorMemory value.
      • setExecutorMemory

        public SparkRequest setExecutorMemory​(String executorMemory)
        Set the executorMemory property: The executorMemory property.
        Parameters:
        executorMemory - the executorMemory value to set.
        Returns:
        the SparkRequest object itself.
      • getExecutorCores

        public Integer getExecutorCores()
        Get the executorCores property: The executorCores property.
        Returns:
        the executorCores value.
      • setExecutorCores

        public SparkRequest setExecutorCores​(Integer executorCores)
        Set the executorCores property: The executorCores property.
        Parameters:
        executorCores - the executorCores value to set.
        Returns:
        the SparkRequest object itself.
      • getExecutorCount

        public Integer getExecutorCount()
        Get the executorCount property: The numExecutors property.
        Returns:
        the executorCount value.
      • setExecutorCount

        public SparkRequest setExecutorCount​(Integer executorCount)
        Set the executorCount property: The numExecutors property.
        Parameters:
        executorCount - the executorCount value to set.
        Returns:
        the SparkRequest object itself.