public class BasicParameterHelper extends Object implements ParameterHelper<Object>
| Constructor and Description |
|---|
BasicParameterHelper(ParameterEnum<?> parent,
Class<Object> baseClass,
String name,
String description,
boolean isClass,
boolean hasArg) |
| Modifier and Type | Method and Description |
|---|---|
Class<Object> |
getBaseClass() |
Object |
getValue(org.apache.hadoop.mapreduce.JobContext context,
Class<?> scope,
Object defaultValue) |
Object |
getValue(PropertyManagement propertyManagement) |
void |
setValue(org.apache.hadoop.conf.Configuration config,
Class<?> scope,
Object value) |
void |
setValue(PropertyManagement propertyManagement,
Object value) |
public BasicParameterHelper(ParameterEnum<?> parent, Class<Object> baseClass, String name, String description, boolean isClass, boolean hasArg)
public Class<Object> getBaseClass()
getBaseClass in interface ParameterHelper<Object>public void setValue(org.apache.hadoop.conf.Configuration config,
Class<?> scope,
Object value)
setValue in interface ParameterHelper<Object>public Object getValue(org.apache.hadoop.mapreduce.JobContext context, Class<?> scope, Object defaultValue)
getValue in interface ParameterHelper<Object>public Object getValue(PropertyManagement propertyManagement)
getValue in interface ParameterHelper<Object>public void setValue(PropertyManagement propertyManagement, Object value)
setValue in interface ParameterHelper<Object>Copyright © 2013–2022. All rights reserved.