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) |
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 nullCopyright © 2023. All rights reserved.