org.apache.accumulo.core.conf
Class AccumuloConfiguration
java.lang.Object
org.apache.accumulo.core.conf.AccumuloConfiguration
- All Implemented Interfaces:
- Iterable<Map.Entry<String,String>>
- Direct Known Subclasses:
- ConfigurationCopy, DefaultConfiguration, SiteConfiguration
public abstract class AccumuloConfiguration
- extends Object
- implements Iterable<Map.Entry<String,String>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccumuloConfiguration
public AccumuloConfiguration()
get
public abstract String get(Property property)
iterator
public abstract Iterator<Map.Entry<String,String>> iterator()
- Specified by:
iterator
in interface Iterable<Map.Entry<String,String>>
getAllPropertiesWithPrefix
public Map<String,String> getAllPropertiesWithPrefix(Property property)
- This method returns all properties in a map of string->string under the given prefix property.
- Parameters:
property
- the prefix property, and must be of type PropertyType.PREFIX
- Returns:
- a map of strings to strings of the resulting properties
getMemoryInBytes
public long getMemoryInBytes(Property property)
getMemoryInBytes
public static long getMemoryInBytes(String str)
getTimeInMillis
public long getTimeInMillis(Property property)
getTimeInMillis
public static long getTimeInMillis(String str)
getBoolean
public boolean getBoolean(Property property)
getFraction
public double getFraction(Property property)
getFraction
public double getFraction(String str)
getPort
public int getPort(Property property)
getCount
public int getCount(Property property)
getDefaultConfiguration
public static DefaultConfiguration getDefaultConfiguration()
getSiteConfiguration
@Deprecated
public static AccumuloConfiguration getSiteConfiguration()
- Deprecated. not for client use
getTableConfiguration
public static AccumuloConfiguration getTableConfiguration(Connector conn,
String tableId)
throws TableNotFoundException,
AccumuloException
- Throws:
TableNotFoundException
AccumuloException
getMaxFilesPerTablet
public int getMaxFilesPerTablet()
invalidateCache
public void invalidateCache()
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.