public class ScopedJobConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
ScopedJobConfiguration(org.apache.hadoop.conf.Configuration jobConfiguration,
Class<?> scope) |
ScopedJobConfiguration(org.apache.hadoop.conf.Configuration jobConfiguration,
Class<?> scope,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes(Enum<?> property) |
double |
getDouble(Enum<?> property,
double defaultValue) |
<T> T |
getInstance(Enum<?> property,
Class<T> iface,
Class<? extends T> defaultValue) |
int |
getInt(Enum<?> property,
int defaultValue) |
String |
getString(Enum<?> property,
String defaultValue) |
public ScopedJobConfiguration(org.apache.hadoop.conf.Configuration jobConfiguration,
Class<?> scope)
public ScopedJobConfiguration(org.apache.hadoop.conf.Configuration jobConfiguration,
Class<?> scope,
org.slf4j.Logger logger)
public int getInt(Enum<?> property, int defaultValue)
public <T> T getInstance(Enum<?> property, Class<T> iface, Class<? extends T> defaultValue) throws InstantiationException, IllegalAccessException
public double getDouble(Enum<?> property, double defaultValue)
public byte[] getBytes(Enum<?> property)
Copyright © 2013–2022. All rights reserved.