org.apache.accumulo.core.conf
Class SiteConfiguration

java.lang.Object
  extended by org.apache.accumulo.core.conf.AccumuloConfiguration
      extended by org.apache.accumulo.core.conf.SiteConfiguration
All Implemented Interfaces:
Iterable<Map.Entry<String,String>>

public class SiteConfiguration
extends AccumuloConfiguration

A configuration drawn from an XML configuration file specified by the system property org.apache.accumulo.config.file, which points to the file as a resource. The default value is "accumulo-site.xml". Note: Client code should not use this class, and it may be deprecated in the future.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.accumulo.core.conf.AccumuloConfiguration
AccumuloConfiguration.AllFilter, AccumuloConfiguration.PrefixFilter, AccumuloConfiguration.PropertyFilter
 
Method Summary
 void clear()
          method here to support testing, do not call
 void clearAndNull()
          method here to support testing, do not call
static void clearInstance()
          method here to support testing, do not call
 String get(Property property)
           
protected  org.apache.hadoop.conf.Configuration getHadoopConfiguration()
           
static SiteConfiguration getInstance(AccumuloConfiguration parent)
           
 void getProperties(Map<String,String> props, AccumuloConfiguration.PropertyFilter filter)
           
 void set(Property property, String value)
          method here to support testing, do not call
 void set(String key, String value)
          method here to support testing, do not call
 
Methods inherited from class org.apache.accumulo.core.conf.AccumuloConfiguration
getAllPropertiesWithPrefix, getBoolean, getCount, getDefaultConfiguration, getFraction, getFraction, getMaxFilesPerTablet, getMemoryInBytes, getMemoryInBytes, getPath, getPort, getTableConfiguration, getTimeInMillis, getTimeInMillis, instantiateClassProperty, invalidateCache, iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SiteConfiguration getInstance(AccumuloConfiguration parent)

get

public String get(Property property)
Specified by:
get in class AccumuloConfiguration

getProperties

public void getProperties(Map<String,String> props,
                          AccumuloConfiguration.PropertyFilter filter)
Specified by:
getProperties in class AccumuloConfiguration

getHadoopConfiguration

protected org.apache.hadoop.conf.Configuration getHadoopConfiguration()

clearInstance

public static void clearInstance()
method here to support testing, do not call


clear

public void clear()
method here to support testing, do not call


clearAndNull

public void clearAndNull()
method here to support testing, do not call


set

public void set(Property property,
                String value)
method here to support testing, do not call


set

public void set(String key,
                String value)
method here to support testing, do not call



Copyright © 2015 Apache Accumulo Project. All rights reserved.