Package org.apache.accumulo.server.conf
Class TableConfiguration
- java.lang.Object
-
- org.apache.accumulo.core.conf.AccumuloConfiguration
-
- org.apache.accumulo.core.conf.ObservableConfiguration
-
- org.apache.accumulo.server.conf.TableConfiguration
-
public class TableConfiguration extends ObservableConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTableConfiguration.ParsedIteratorConfigstatic classTableConfiguration.TablesScanDispatcher-
Nested classes/interfaces inherited from class org.apache.accumulo.core.conf.AccumuloConfiguration
AccumuloConfiguration.ScanExecutorConfig
-
-
Constructor Summary
Constructors Constructor Description TableConfiguration(ServerContext context, TableId tableId, NamespaceConfiguration parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddObserver(ConfigurationObserver co)Stringget(Property property)NamespaceConfigurationgetNamespaceConfiguration()returns the actual NamespaceConfiguration that corresponds to the current parent namespace.NamespaceConfigurationgetParentConfiguration()Gets the parent configuration of this configuration.TableConfiguration.ParsedIteratorConfiggetParsedIteratorConfig(IteratorUtil.IteratorScope scope)voidgetProperties(Map<String,String> props, Predicate<String> filter)ScanDispatchergetScanDispatcher()TableIdgetTableId()longgetUpdateCount()voidinvalidateCache()booleanisPropertySet(Property prop, boolean cacheAndWatch)voidremoveObserver(ConfigurationObserver co)StringtoString()-
Methods inherited from class org.apache.accumulo.core.conf.ObservableConfiguration
expireAllObservers, getObservers, propertiesChanged, propertyChanged
-
Methods inherited from class org.apache.accumulo.core.conf.AccumuloConfiguration
get, getAllPropertiesWithPrefix, getAsBytes, getBoolean, getCount, getFraction, getMaxFilesPerTablet, getPath, getPort, getScanExecutors, getTimeInMillis, iterator, resolve
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
TableConfiguration
public TableConfiguration(ServerContext context, TableId tableId, NamespaceConfiguration parent)
-
-
Method Detail
-
addObserver
public void addObserver(ConfigurationObserver co)
- Overrides:
addObserverin classObservableConfiguration
-
removeObserver
public void removeObserver(ConfigurationObserver co)
- Overrides:
removeObserverin classObservableConfiguration
-
isPropertySet
public boolean isPropertySet(Property prop, boolean cacheAndWatch)
- Overrides:
isPropertySetin classAccumuloConfiguration
-
get
public String get(Property property)
- Specified by:
getin classAccumuloConfiguration
-
getProperties
public void getProperties(Map<String,String> props, Predicate<String> filter)
- Specified by:
getPropertiesin classAccumuloConfiguration
-
getTableId
public TableId getTableId()
-
getNamespaceConfiguration
public NamespaceConfiguration getNamespaceConfiguration()
returns the actual NamespaceConfiguration that corresponds to the current parent namespace.
-
getParentConfiguration
public NamespaceConfiguration getParentConfiguration()
Gets the parent configuration of this configuration.- Returns:
- parent configuration
-
invalidateCache
public void invalidateCache()
- Overrides:
invalidateCachein classAccumuloConfiguration
-
getUpdateCount
public long getUpdateCount()
- Overrides:
getUpdateCountin classAccumuloConfiguration
-
getParsedIteratorConfig
public TableConfiguration.ParsedIteratorConfig getParsedIteratorConfig(IteratorUtil.IteratorScope scope)
-
getScanDispatcher
public ScanDispatcher getScanDispatcher()
-
-