org.apache.accumulo.core.conf
public abstract class AccumuloConfiguration extends Object implements Iterable<Map.Entry<String,String>>
Constructor and Description |
---|
AccumuloConfiguration() |
Modifier and Type | Method and Description |
---|---|
abstract String |
get(Property property) |
Map<String,String> |
getAllPropertiesWithPrefix(Property property)
This method returns all properties in a map of string->string under the given prefix 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) |
void |
invalidateCache() |
abstract Iterator<Map.Entry<String,String>> |
iterator() |
public Map<String,String> getAllPropertiesWithPrefix(Property property)
property
- the prefix property, and must be of type PropertyType.PREFIXpublic long getMemoryInBytes(Property property)
public static long getMemoryInBytes(String str)
public long getTimeInMillis(Property property)
public static long getTimeInMillis(String str)
public boolean getBoolean(Property property)
public double getFraction(Property property)
public double getFraction(String str)
public int getPort(Property property)
public int getCount(Property property)
public static DefaultConfiguration getDefaultConfiguration()
@Deprecated public static AccumuloConfiguration getSiteConfiguration()
public static AccumuloConfiguration getTableConfiguration(Connector conn, String tableId) throws TableNotFoundException, AccumuloException
public int getMaxFilesPerTablet()
public void invalidateCache()
Copyright © 2014 Apache Accumulo Project. All Rights Reserved.