clear

getSubProperties

Get properties which start with a prefix. When a property is returned,
the prefix is removed the from name. For example, if this method is
called with a parameter "hdfs." and the context contains:
{ hdfs.key = value, otherKey = otherValue }
this method will return a map containing:
{ key = value}
Note: The prefix must end with a period character. If not
this method will raise an IllegalArgumentException.

Parameters:

prefix - key prefix to find and remove from keys in resulting map

Returns:

map with keys which matched prefix with prefix removed from
keys in resulting map. If no keys are matched, the returned map is
empty

Throws:

IllegalArguemntException - if the given prefix does not end with
a period character.

getBoolean

Note that this method returns an object as opposed to a
primitive. The configuration key requested may not be mapped
to a value and by returning the primitive object wrapper we can
return null. If the key does not exist the return value of
this method is assigned directly to a primitive, a
NullPointerException will be thrown.

getInteger

Note that this method returns an object as opposed to a
primitive. The configuration key requested may not be mapped
to a value and by returning the primitive object wrapper we can
return null. If the key does not exist the return value of
this method is assigned directly to a primitive, a
NullPointerException will be thrown.

getLong

Note that this method returns an object as opposed to a
primitive. The configuration key requested may not be mapped
to a value and by returning the primitive object wrapper we can
return null. If the key does not exist the return value of
this method is assigned directly to a primitive, a
NullPointerException will be thrown.