|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<java.util.Map<java.lang.String,java.lang.String>,YarnEnvironmentConfigurer,YarnEnvironmentBuilder> org.springframework.yarn.config.annotation.configurers.DefaultEnvironmentClasspathConfigurer
public class DefaultEnvironmentClasspathConfigurer
AnnotationConfigurer
which knows how to handle configuring a
classpath.
Constructor Summary | |
---|---|
DefaultEnvironmentClasspathConfigurer()
|
Method Summary | |
---|---|
void |
configure(YarnEnvironmentBuilder builder)
Configure the AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder . |
EnvironmentClasspathConfigurer |
defaultYarnAppClasspath(java.lang.String... defaultClasspath)
Specify a default yarn application classpath entries. |
EnvironmentClasspathConfigurer |
defaultYarnAppClasspath(java.lang.String defaultClasspath)
Specify a default yarn application classpath. |
EnvironmentClasspathConfigurer |
delimiter(java.lang.String delimiter)
Specify a delimiter used in a classpath. |
EnvironmentClasspathConfigurer |
entries(java.util.List<java.lang.String> entries)
Specify a new classpath entries. |
EnvironmentClasspathConfigurer |
entries(java.lang.String... entries)
Specify a new classpath entries. |
EnvironmentClasspathConfigurer |
entry(java.lang.String entry)
Specify a new classpath entry. |
EnvironmentClasspathConfigurer |
includeBaseDirectory(boolean includeBaseDirectory)
Specify if base directory should be added in classpath. |
EnvironmentClasspathConfigurer |
useDefaultYarnClasspath(boolean defaultClasspath)
Specify if default yarn classpath entries should be added. |
Methods inherited from class org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter |
---|
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerBuilder |
---|
and |
Constructor Detail |
---|
public DefaultEnvironmentClasspathConfigurer()
Method Detail |
---|
public void configure(YarnEnvironmentBuilder builder) throws java.lang.Exception
AnnotationConfigurer
AnnotationBuilder
by setting the necessary properties
on the AnnotationBuilder
.
configure
in interface AnnotationConfigurer<java.util.Map<java.lang.String,java.lang.String>,YarnEnvironmentBuilder>
configure
in class AnnotationConfigurerAdapter<java.util.Map<java.lang.String,java.lang.String>,YarnEnvironmentConfigurer,YarnEnvironmentBuilder>
builder
- the builder
java.lang.Exception
- if error occurredpublic EnvironmentClasspathConfigurer entry(java.lang.String entry)
EnvironmentClasspathConfigurer
entry
in interface EnvironmentClasspathConfigurer
entry
- the classpath entry
EnvironmentClasspathConfigurer
for chainingpublic EnvironmentClasspathConfigurer entries(java.lang.String... entries)
EnvironmentClasspathConfigurer
entries
in interface EnvironmentClasspathConfigurer
entries
- the classpath entries
EnvironmentClasspathConfigurer
for chainingpublic EnvironmentClasspathConfigurer entries(java.util.List<java.lang.String> entries)
EnvironmentClasspathConfigurer
entries
in interface EnvironmentClasspathConfigurer
entries
- the classpath entries
EnvironmentClasspathConfigurer
for chainingpublic EnvironmentClasspathConfigurer useDefaultYarnClasspath(boolean defaultClasspath)
EnvironmentClasspathConfigurer
useDefaultYarnClasspath
in interface EnvironmentClasspathConfigurer
defaultClasspath
- the use default classpath
EnvironmentClasspathConfigurer
for chainingpublic EnvironmentClasspathConfigurer defaultYarnAppClasspath(java.lang.String defaultClasspath)
EnvironmentClasspathConfigurer
defaultYarnAppClasspath
in interface EnvironmentClasspathConfigurer
defaultClasspath
- the default classpath
EnvironmentClasspathConfigurer
for chainingpublic EnvironmentClasspathConfigurer defaultYarnAppClasspath(java.lang.String... defaultClasspath)
EnvironmentClasspathConfigurer
defaultYarnAppClasspath
in interface EnvironmentClasspathConfigurer
defaultClasspath
- the default classpath entries.
EnvironmentClasspathConfigurer
for chainingpublic EnvironmentClasspathConfigurer includeBaseDirectory(boolean includeBaseDirectory)
EnvironmentClasspathConfigurer
includeBaseDirectory
in interface EnvironmentClasspathConfigurer
includeBaseDirectory
- the include base directory
EnvironmentClasspathConfigurer
for chainingpublic EnvironmentClasspathConfigurer delimiter(java.lang.String delimiter)
EnvironmentClasspathConfigurer
delimiter
in interface EnvironmentClasspathConfigurer
delimiter
- the delimiter
EnvironmentClasspathConfigurer
for chaining
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |