|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.conf.Configuration
de.hpi.fgis.voidgen.hadoop.datatypes.Description
public class Description
Provides access to configuration data. Does not provide a constructor which automatically creates configuration data.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.hadoop.conf.Configuration |
---|
org.apache.hadoop.conf.Configuration.IntegerRanges |
Field Summary | |
---|---|
static java.lang.String |
ENTITY_PATTER
The generated approximated regular expression describing the entities belonging to the cluster. |
static java.lang.String |
EXAMPLE_ENTITY
An example entity of the cluster. |
static java.lang.String |
ID
The identifier of the cluster. |
static java.lang.String |
SIGNIFICANT_PREDICATE
The set of significant predicates of the cluster. |
static java.lang.String |
SIZE
The number of entities belonging to the cluster. |
Constructor Summary | |
---|---|
Description()
Default constructor initializing the members. |
|
Description(java.lang.String key,
java.lang.String value)
Creates a new description setting the given key to the given value. |
Method Summary | |
---|---|
static org.apache.hadoop.conf.Configuration |
getFilteredConfiguration(org.apache.hadoop.conf.Configuration other,
java.lang.String regex,
java.lang.String prefix,
java.lang.String deletePrefix)
Creates a new configuration from the given configuration where each property matches the given regular expression. |
void |
merge(org.apache.hadoop.conf.Configuration configuration)
Merges the key-value pairs from the given configuration into this configuration. |
java.lang.String |
toString()
|
java.lang.String |
toVoIDString()
TODO Implement converting to a VoID entry. |
Methods inherited from class org.apache.hadoop.conf.Configuration |
---|
addDefaultResource, addResource, addResource, addResource, addResource, clear, get, get, getBoolean, getClass, getClass, getClassByName, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getFile, getFloat, getInt, getLocalPath, getLong, getRange, getRaw, getResource, getStringCollection, getStrings, getStrings, iterator, main, readFields, reloadConfiguration, set, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setFloat, setIfUnset, setInt, setLong, setQuietMode, setStrings, size, write, writeXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ID
public static final java.lang.String SIZE
public static final java.lang.String ENTITY_PATTER
public static final java.lang.String EXAMPLE_ENTITY
public static final java.lang.String SIGNIFICANT_PREDICATE
Constructor Detail |
---|
public Description()
public Description(java.lang.String key, java.lang.String value)
key
- the key to set.value
- the value of the key.Method Detail |
---|
public void merge(org.apache.hadoop.conf.Configuration configuration)
configuration
- The configuration to get the pairs to merge from.public java.lang.String toString()
toString
in class org.apache.hadoop.conf.Configuration
public java.lang.String toVoIDString()
public static org.apache.hadoop.conf.Configuration getFilteredConfiguration(org.apache.hadoop.conf.Configuration other, java.lang.String regex, java.lang.String prefix, java.lang.String deletePrefix)
other
- The configuration to get the properties from.regex
- The regular expression to match.prefix
- The prefix each kept property must have.deletePrefix
- The prefix to delete from each kept property name if it does start with this prefix.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |