Interface HadoopStepConfig.Builder

    • Method Detail

      • jar

        HadoopStepConfig.Builder jar​(String jar)

        The path to the JAR file that runs during the step.

        Parameters:
        jar - The path to the JAR file that runs during the step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • properties

        HadoopStepConfig.Builder properties​(Map<String,​String> properties)

        The list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.

        Parameters:
        properties - The list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mainClass

        HadoopStepConfig.Builder mainClass​(String mainClass)

        The name of the main class in the specified Java file. If not specified, the JAR file should specify a main class in its manifest file.

        Parameters:
        mainClass - The name of the main class in the specified Java file. If not specified, the JAR file should specify a main class in its manifest file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • args

        HadoopStepConfig.Builder args​(Collection<String> args)

        The list of command line arguments to pass to the JAR file's main function for execution.

        Parameters:
        args - The list of command line arguments to pass to the JAR file's main function for execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • args

        HadoopStepConfig.Builder args​(String... args)

        The list of command line arguments to pass to the JAR file's main function for execution.

        Parameters:
        args - The list of command line arguments to pass to the JAR file's main function for execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.