org.apache.accumulo.core.conf
Class AccumuloConfiguration

java.lang.Object
  extended by 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>>


Constructor Summary
AccumuloConfiguration()
           
 
Method Summary
abstract  String get(Property property)
           
 boolean getBoolean(Property property)
           
 int getCount(Property property)
           
static DefaultConfiguration getDefaultConfiguration()
           
 double getFraction(Property property)
           
 double getFraction(String str)
           
 int getMaxFilesPerTablet()
           
 long getMemoryInBytes(Property property)
           
static long getMemoryInBytes(String str)
           
 int getPort(Property property)
           
static AccumuloConfiguration getSiteConfiguration()
          Deprecated. not for client use
static AccumuloConfiguration getTableConfiguration(Connector conn, String tableId)
           
 long getTimeInMillis(Property property)
           
static long getTimeInMillis(String str)
           
abstract  Iterator<Map.Entry<String,String>> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccumuloConfiguration

public AccumuloConfiguration()
Method Detail

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>>

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

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()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.