public class HadoopJarStepConfig
extends java.lang.Object
implements java.io.Serializable
A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
| コンストラクタと説明 |
|---|
HadoopJarStepConfig()
Default constructor for a new HadoopJarStepConfig object.
|
HadoopJarStepConfig(java.lang.String jar)
Constructs a new HadoopJarStepConfig object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getArgs()
A list of command line arguments passed to the JAR file's main
function when executed.
|
java.lang.String |
getJar()
A path to a JAR file run during the step.
|
java.lang.String |
getMainClass()
The name of the main class in the specified Java file.
|
java.util.List<KeyValue> |
getProperties()
A list of Java properties that are set when the step runs.
|
int |
hashCode() |
void |
setArgs(java.util.Collection<java.lang.String> args)
A list of command line arguments passed to the JAR file's main
function when executed.
|
void |
setJar(java.lang.String jar)
A path to a JAR file run during the step.
|
void |
setMainClass(java.lang.String mainClass)
The name of the main class in the specified Java file.
|
void |
setProperties(java.util.Collection<KeyValue> properties)
A list of Java properties that are set when the step runs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HadoopJarStepConfig |
withArgs(java.util.Collection<java.lang.String> args)
A list of command line arguments passed to the JAR file's main
function when executed.
|
HadoopJarStepConfig |
withArgs(java.lang.String... args)
A list of command line arguments passed to the JAR file's main
function when executed.
|
HadoopJarStepConfig |
withJar(java.lang.String jar)
A path to a JAR file run during the step.
|
HadoopJarStepConfig |
withMainClass(java.lang.String mainClass)
The name of the main class in the specified Java file.
|
HadoopJarStepConfig |
withProperties(java.util.Collection<KeyValue> properties)
A list of Java properties that are set when the step runs.
|
HadoopJarStepConfig |
withProperties(KeyValue... properties)
A list of Java properties that are set when the step runs.
|
public HadoopJarStepConfig()
public HadoopJarStepConfig(java.lang.String jar)
jar - A path to a JAR file run during the step.public java.util.List<KeyValue> getProperties()
public void setProperties(java.util.Collection<KeyValue> properties)
properties - A 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.public HadoopJarStepConfig withProperties(KeyValue... properties)
Returns a reference to this object so that method calls can be chained together.
properties - A 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.public HadoopJarStepConfig withProperties(java.util.Collection<KeyValue> properties)
Returns a reference to this object so that method calls can be chained together.
properties - A 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.public java.lang.String getJar()
Constraints:
Length: 0 - 10280
Pattern: [ --�𐀀-\r\n\t]*
public void setJar(java.lang.String jar)
Constraints:
Length: 0 - 10280
Pattern: [ --�𐀀-\r\n\t]*
jar - A path to a JAR file run during the step.public HadoopJarStepConfig withJar(java.lang.String jar)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10280
Pattern: [ --�𐀀-\r\n\t]*
jar - A path to a JAR file run during the step.public java.lang.String getMainClass()
Constraints:
Length: 0 - 10280
Pattern: [ --�𐀀-\r\n\t]*
public void setMainClass(java.lang.String mainClass)
Constraints:
Length: 0 - 10280
Pattern: [ --�𐀀-\r\n\t]*
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.public HadoopJarStepConfig withMainClass(java.lang.String mainClass)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10280
Pattern: [ --�𐀀-\r\n\t]*
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.public java.util.List<java.lang.String> getArgs()
public void setArgs(java.util.Collection<java.lang.String> args)
args - A list of command line arguments passed to the JAR file's main
function when executed.public HadoopJarStepConfig withArgs(java.lang.String... args)
Returns a reference to this object so that method calls can be chained together.
args - A list of command line arguments passed to the JAR file's main
function when executed.public HadoopJarStepConfig withArgs(java.util.Collection<java.lang.String> args)
Returns a reference to this object so that method calls can be chained together.
args - A list of command line arguments passed to the JAR file's main
function when executed.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object