public class DefaultConfiguration extends AccumuloConfiguration
AccumuloConfiguration
that contains only default values for properties. This class is
a singleton.AccumuloConfiguration.ScanExecutorConfig
Modifier and Type | Method and Description |
---|---|
String |
get(Property property)
Gets a property value from this configuration.
|
static DefaultConfiguration |
getInstance()
Gets a default configuration.
|
void |
getProperties(Map<String,String> props,
Predicate<String> filter)
Returns property key/value pairs in this configuration.
|
boolean |
isPropertySet(Property prop,
boolean cacheAndWatch) |
get, getAllPropertiesWithPrefix, getAsBytes, getBoolean, getCount, getFraction, getMaxFilesPerTablet, getPath, getPort, getScanExecutors, getTimeInMillis, getUpdateCount, invalidateCache, iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static DefaultConfiguration getInstance()
public String get(Property property)
AccumuloConfiguration
get
in class AccumuloConfiguration
property
- property to getpublic void getProperties(Map<String,String> props, Predicate<String> filter)
AccumuloConfiguration
getProperties
in class AccumuloConfiguration
props
- properties object to populatefilter
- filter for accepting properties from this configurationpublic boolean isPropertySet(Property prop, boolean cacheAndWatch)
isPropertySet
in class AccumuloConfiguration
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.