public final class FSConfiguration extends Object
| Constructor and Description |
|---|
FSConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static String |
get(org.apache.hadoop.conf.Configuration conf,
String scheme,
String keySuffix)
lookup value from configuration based on scheme and key suffix.
|
static String |
get(org.apache.hadoop.conf.Configuration conf,
String scheme,
String keySuffix,
String defaultValue)
lookup value from configuration based on scheme and key suffix, returns default in case of null value.
|
static int |
getInt(org.apache.hadoop.conf.Configuration conf,
String scheme,
String keySuffix,
int defaultValue) |
static Map<String,String> |
getMap(org.apache.hadoop.conf.Configuration conf,
String scheme,
String keySuffix)
lookup a map in a configuration key.
|
public static String get(org.apache.hadoop.conf.Configuration conf, String scheme, String keySuffix)
conf - configuration object to get the value fromscheme - used to format the key for lookupkeySuffix - key suffix to lookuppublic static String get(org.apache.hadoop.conf.Configuration conf, String scheme, String keySuffix, String defaultValue)
conf - configuration object to get the value fromscheme - used to format key for lookupkeySuffix - key suffix to lookupdefaultValue - default value returned in case of nullpublic static int getInt(org.apache.hadoop.conf.Configuration conf,
String scheme,
String keySuffix,
int defaultValue)
public static Map<String,String> getMap(org.apache.hadoop.conf.Configuration conf, String scheme, String keySuffix)
conf - configuration object to get the value fromscheme - used to format key for lookupkeySuffix - key suffix to lookupCopyright © 2024. All rights reserved.