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 class
TableConfiguration.ParsedIteratorConfig
static class
TableConfiguration.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 void
addObserver(ConfigurationObserver co)
String
get(Property property)
NamespaceConfiguration
getNamespaceConfiguration()
returns the actual NamespaceConfiguration that corresponds to the current parent namespace.NamespaceConfiguration
getParentConfiguration()
Gets the parent configuration of this configuration.TableConfiguration.ParsedIteratorConfig
getParsedIteratorConfig(IteratorUtil.IteratorScope scope)
void
getProperties(Map<String,String> props, Predicate<String> filter)
ScanDispatcher
getScanDispatcher()
TableId
getTableId()
long
getUpdateCount()
void
invalidateCache()
boolean
isPropertySet(Property prop, boolean cacheAndWatch)
void
removeObserver(ConfigurationObserver co)
String
toString()
-
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:
addObserver
in classObservableConfiguration
-
removeObserver
public void removeObserver(ConfigurationObserver co)
- Overrides:
removeObserver
in classObservableConfiguration
-
isPropertySet
public boolean isPropertySet(Property prop, boolean cacheAndWatch)
- Overrides:
isPropertySet
in classAccumuloConfiguration
-
get
public String get(Property property)
- Specified by:
get
in classAccumuloConfiguration
-
getProperties
public void getProperties(Map<String,String> props, Predicate<String> filter)
- Specified by:
getProperties
in 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:
invalidateCache
in classAccumuloConfiguration
-
getUpdateCount
public long getUpdateCount()
- Overrides:
getUpdateCount
in classAccumuloConfiguration
-
getParsedIteratorConfig
public TableConfiguration.ParsedIteratorConfig getParsedIteratorConfig(IteratorUtil.IteratorScope scope)
-
getScanDispatcher
public ScanDispatcher getScanDispatcher()
-
-