Package org.apache.accumulo.core.client
Class ClientConfiguration
java.lang.Object
org.apache.commons.configuration.event.EventSource
org.apache.commons.configuration.AbstractConfiguration
org.apache.commons.configuration.CompositeConfiguration
org.apache.accumulo.core.client.ClientConfiguration
- All Implemented Interfaces:
Cloneable
,org.apache.commons.configuration.Configuration
public class ClientConfiguration
extends org.apache.commons.configuration.CompositeConfiguration
Contains a list of property keys recognized by the Accumulo client and convenience methods for
setting them.
- Since:
- 1.6.0
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.commons.configuration.AbstractConfiguration
END_TOKEN, EVENT_ADD_PROPERTY, EVENT_CLEAR, EVENT_CLEAR_PROPERTY, EVENT_READ_PROPERTY, EVENT_SET_PROPERTY, START_TOKEN
-
Constructor Summary
ConstructorDescriptionClientConfiguration
(File configFile) Deprecated.ClientConfiguration
(String configFile) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API; usefromFile(File)
instead.ClientConfiguration
(List<? extends org.apache.commons.configuration.Configuration> configs) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIClientConfiguration
(org.apache.commons.configuration.Configuration... configs) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConfiguration
(org.apache.commons.configuration.Configuration config) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
addConfigurationListener
(org.apache.commons.configuration.event.ConfigurationListener l) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
addErrorListener
(org.apache.commons.configuration.event.ConfigurationErrorListener l) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
addProperty
(String key, Object value) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIprotected void
addPropertyDirect
(String key, Object token) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
append
(org.apache.commons.configuration.Configuration c) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
clear()
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
clearProperty
(String key) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIprotected void
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
containsKey
(String key) void
copy
(org.apache.commons.configuration.Configuration c) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIstatic ClientConfiguration
create()
Initializes an empty configuration object to be further configured with other methods on the class.protected org.apache.commons.configuration.event.ConfigurationErrorEvent
createErrorEvent
(int type, String propName, Object propValue, Throwable ex) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIprotected org.apache.commons.configuration.event.ConfigurationEvent
createEvent
(int type, String propName, Object propValue, boolean before) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIprotected org.apache.commons.configuration.interpol.ConfigurationInterpolator
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIstatic ClientConfiguration
deserialize
(String serializedConfig) protected void
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIprotected void
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIstatic ClientConfiguration
Initializes a configuration object from the contents of a configuration file.static ClientConfiguration
Initializes a configuration object from the contents of a map.Returns the value for prop, the default value if not present.Gets all properties under the given prefix in this configuration.getBigDecimal
(String key) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetBigDecimal
(String key, BigDecimal defaultValue) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetBigInteger
(String key) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetBigInteger
(String key, BigInteger defaultValue) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
getBoolean
(String key) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
getBoolean
(String key, boolean defaultValue) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetBoolean
(String key, Boolean defaultValue) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIbyte
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIbyte
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIorg.apache.commons.configuration.Configuration
getConfiguration
(int index) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIdouble
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIdouble
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIfloat
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIfloat
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIorg.apache.commons.configuration.Configuration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIint
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIint
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetInteger
(String key, Integer defaultValue) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIorg.apache.commons.configuration.interpol.ConfigurationInterpolator
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetKeys()
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIchar
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIorg.apache.commons.logging.Log
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIlong
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIlong
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIint
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetProperties
(String key) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetProperties
(String key, Properties defaults) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIgetProperty
(String key) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIshort
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIshort
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIorg.apache.commons.configuration.Configuration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIDeprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIString[]
getStringArray
(String key) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIorg.apache.commons.lang.text.StrSubstitutor
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
hasSasl()
Show whether SASL has been set on this configuration.protected Object
interpolate
(Object value) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIprotected String
interpolate
(String base) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIorg.apache.commons.configuration.Configuration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIprotected String
interpolateHelper
(String base, List priorVariables) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
isEmpty()
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIstatic ClientConfiguration
Attempts to load a configuration file from the system using the default search paths.void
removeConfiguration
(org.apache.commons.configuration.Configuration config) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
removeConfigurationListener
(org.apache.commons.configuration.event.ConfigurationListener l) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIboolean
removeErrorListener
(org.apache.commons.configuration.event.ConfigurationErrorListener l) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIprotected Object
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
setDelimiterParsingDisabled
(boolean delimiterParsingDisabled) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
setDetailEvents
(boolean enable) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
setListDelimiter
(char listDelimiter) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
setLogger
(org.apache.commons.logging.Log log) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
setProperty
(String key, Object value) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIvoid
setProperty
(String prop, String value) Sets the value of property to valuevoid
setProperty
(ClientConfiguration.ClientProperty prop, String value) Sets the value of property to valuevoid
setThrowExceptionOnMissing
(boolean throwExceptionOnMissing) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIorg.apache.commons.configuration.Configuration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APISame assetProperty(String, String)
but returns the ClientConfiguration for chaining purposeswith
(ClientConfiguration.ClientProperty prop, String value) Same assetProperty(ClientProperty, String)
but returns the ClientConfiguration for chaining purposeswithInstance
(String instanceName) Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_NAMEwithInstance
(UUID instanceId) Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_IDwithKeystore
(String path) Same aswithKeystore(String, String, String)
with password null and type nullwithKeystore
(String path, String password, String type) Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SSL_CLIENT_AUTH, ClientProperty.RPC_SSL_KEYSTORE_PATH, ClientProperty.RPC_SSL_KEYSTORE_PASSWORD, and ClientProperty.RPC_SSL_KEYSTORE_TYPEwithSasl
(boolean saslEnabled) Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SASL_ENABLED.Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SASL_ENABLED and ClientProperty.GENERAL_KERBEROS_PRINCIPAL.withSsl
(boolean sslEnabled) Same aswithSsl(boolean, boolean)
with useJsseConfig set to falsewithSsl
(boolean sslEnabled, boolean useJsseConfig) Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SSL_ENABLED and ClientProperty.RPC_USE_JSSEwithTruststore
(String path) Same aswithTruststore(String)
with password null and type nullwithTruststore
(String path, String password, String type) Same aswith(ClientProperty, String)
for ClientProperty.RPC_SSL_TRUSTORE_PATH, ClientProperty.RPC_SSL_TRUSTORE_PASSWORD, and ClientProperty.RPC_SSL_TRUSTORE_TYPEwithZkHosts
(String zooKeepers) Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_ZK_HOSTwithZkTimeout
(int timeout) Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_ZK_TIMEOUTMethods inherited from class org.apache.commons.configuration.CompositeConfiguration
clone
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration
getDefaultListDelimiter, getDelimiter, setDefaultListDelimiter, setDelimiter
-
Field Details
-
USER_ACCUMULO_DIR_NAME
- See Also:
-
USER_CONF_FILENAME
- See Also:
-
GLOBAL_CONF_FILENAME
- See Also:
-
-
Constructor Details
-
ClientConfiguration
@Deprecated public ClientConfiguration(String configFile) throws org.apache.commons.configuration.ConfigurationException Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API; usefromFile(File)
instead.- Throws:
org.apache.commons.configuration.ConfigurationException
-
ClientConfiguration
@Deprecated public ClientConfiguration(File configFile) throws org.apache.commons.configuration.ConfigurationException Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API; usefromFile(File)
instead.Load a client configuration from the provided configuration properties file- Parameters:
configFile
- the path to the properties file- Throws:
org.apache.commons.configuration.ConfigurationException
-
ClientConfiguration
@Deprecated public ClientConfiguration(List<? extends org.apache.commons.configuration.Configuration> configs) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API -
ClientConfiguration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo APIIterates through the Configuration objects, populating this object.- See Also:
-
PropertiesConfiguration
loadDefault()
-
-
Method Details
-
loadDefault
Attempts to load a configuration file from the system using the default search paths. Uses the ACCUMULO_CLIENT_CONF_PATH environment variable, split on File.pathSeparator, for a list of target files.If ACCUMULO_CLIENT_CONF_PATH is not set, uses the following in this order:
- ~/.accumulo/config
- $ACCUMULO_CONF_DIR/client.conf, if $ACCUMULO_CONF_DIR is defined.
- /etc/accumulo/client.conf
- /etc/accumulo/conf/client.conf
A client configuration will then be read from each location using PropertiesConfiguration to construct a configuration. That means the latest item will be the one in the configuration.
- See Also:
-
PropertiesConfiguration
File.pathSeparator
-
create
Initializes an empty configuration object to be further configured with other methods on the class.- Since:
- 1.9.0
-
fromFile
Initializes a configuration object from the contents of a configuration file. Currently supports Java "properties" files. The returned object can be further configured with subsequent calls to other methods on this class.- Parameters:
file
- the path to the configuration file- Since:
- 1.9.0
-
fromMap
Initializes a configuration object from the contents of a map. The returned object can be further configured with subsequent calls to other methods on this class.- Parameters:
properties
- a map containing the configuration properties to use- Since:
- 1.9.0
-
deserialize
-
serialize
-
get
Returns the value for prop, the default value if not present. -
getAllPropertiesWithPrefix
Gets all properties under the given prefix in this configuration.- Parameters:
property
- prefix property, must be of type PropertyType.PREFIX- Returns:
- a map of property keys to values
- Throws:
IllegalArgumentException
- if property is not a prefix
-
setProperty
Sets the value of property to value -
with
Same assetProperty(ClientProperty, String)
but returns the ClientConfiguration for chaining purposes -
setProperty
Sets the value of property to value- Since:
- 1.9.0
-
with
Same assetProperty(String, String)
but returns the ClientConfiguration for chaining purposes- Since:
- 1.9.0
-
withInstance
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_NAME -
withInstance
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_ID -
withZkHosts
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_ZK_HOST -
withZkTimeout
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_ZK_TIMEOUT -
withSsl
Same aswithSsl(boolean, boolean)
with useJsseConfig set to false -
withSsl
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SSL_ENABLED and ClientProperty.RPC_USE_JSSE -
withTruststore
Same aswithTruststore(String)
with password null and type null -
withTruststore
Same aswith(ClientProperty, String)
for ClientProperty.RPC_SSL_TRUSTORE_PATH, ClientProperty.RPC_SSL_TRUSTORE_PASSWORD, and ClientProperty.RPC_SSL_TRUSTORE_TYPE -
withKeystore
Same aswithKeystore(String, String, String)
with password null and type null -
withKeystore
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SSL_CLIENT_AUTH, ClientProperty.RPC_SSL_KEYSTORE_PATH, ClientProperty.RPC_SSL_KEYSTORE_PASSWORD, and ClientProperty.RPC_SSL_KEYSTORE_TYPE -
withSasl
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SASL_ENABLED.- Since:
- 1.7.0
-
hasSasl
public boolean hasSasl()Show whether SASL has been set on this configuration.- Since:
- 1.9.0
-
withSasl
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SASL_ENABLED and ClientProperty.GENERAL_KERBEROS_PRINCIPAL.- Parameters:
saslEnabled
- Should SASL(kerberos) be enabledkerberosServerPrimary
- The 'primary' component of the Kerberos principal Accumulo servers use to login (e.g. 'accumulo' in 'accumulo/_HOST@REALM')- Since:
- 1.7.0
-
getConfiguration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getConfiguration
in classorg.apache.commons.configuration.CompositeConfiguration
-
getSource
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getSource
in classorg.apache.commons.configuration.CompositeConfiguration
-
removeConfiguration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
removeConfiguration
in classorg.apache.commons.configuration.CompositeConfiguration
-
addConfiguration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
addConfiguration
in classorg.apache.commons.configuration.CompositeConfiguration
-
getInMemoryConfiguration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getInMemoryConfiguration
in classorg.apache.commons.configuration.CompositeConfiguration
-
getLogger
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getLogger
in classorg.apache.commons.configuration.AbstractConfiguration
-
subset
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
subset
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
subset
in classorg.apache.commons.configuration.AbstractConfiguration
-
interpolatedConfiguration
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
interpolatedConfiguration
in classorg.apache.commons.configuration.AbstractConfiguration
-
setLogger
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
setLogger
in classorg.apache.commons.configuration.AbstractConfiguration
-
getInterpolator
@Deprecated public org.apache.commons.configuration.interpol.ConfigurationInterpolator getInterpolator()Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getInterpolator
in classorg.apache.commons.configuration.AbstractConfiguration
-
getSubstitutor
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getSubstitutor
in classorg.apache.commons.configuration.AbstractConfiguration
-
append
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
append
in classorg.apache.commons.configuration.AbstractConfiguration
-
copy
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
copy
in classorg.apache.commons.configuration.AbstractConfiguration
-
addConfigurationListener
@Deprecated public void addConfigurationListener(org.apache.commons.configuration.event.ConfigurationListener l) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
addConfigurationListener
in classorg.apache.commons.configuration.event.EventSource
-
removeConfigurationListener
@Deprecated public boolean removeConfigurationListener(org.apache.commons.configuration.event.ConfigurationListener l) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
removeConfigurationListener
in classorg.apache.commons.configuration.event.EventSource
-
removeErrorListener
@Deprecated public boolean removeErrorListener(org.apache.commons.configuration.event.ConfigurationErrorListener l) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
removeErrorListener
in classorg.apache.commons.configuration.event.EventSource
-
addErrorListener
@Deprecated public void addErrorListener(org.apache.commons.configuration.event.ConfigurationErrorListener l) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
addErrorListener
in classorg.apache.commons.configuration.event.EventSource
-
addErrorLogListener
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
addErrorLogListener
in classorg.apache.commons.configuration.AbstractConfiguration
-
addProperty
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
addProperty
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
addProperty
in classorg.apache.commons.configuration.AbstractConfiguration
-
addPropertyDirect
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
addPropertyDirect
in classorg.apache.commons.configuration.CompositeConfiguration
-
clear
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
clear
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
clear
in classorg.apache.commons.configuration.CompositeConfiguration
-
clearConfigurationListeners
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
clearConfigurationListeners
in classorg.apache.commons.configuration.event.EventSource
-
clearErrorListeners
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
clearErrorListeners
in classorg.apache.commons.configuration.event.EventSource
-
clearProperty
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
clearProperty
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
clearProperty
in classorg.apache.commons.configuration.AbstractConfiguration
-
clearPropertyDirect
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
clearPropertyDirect
in classorg.apache.commons.configuration.CompositeConfiguration
-
containsKey
- Specified by:
containsKey
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
containsKey
in classorg.apache.commons.configuration.CompositeConfiguration
-
createErrorEvent
@Deprecated protected org.apache.commons.configuration.event.ConfigurationErrorEvent createErrorEvent(int type, String propName, Object propValue, Throwable ex) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
createErrorEvent
in classorg.apache.commons.configuration.event.EventSource
-
createEvent
@Deprecated protected org.apache.commons.configuration.event.ConfigurationEvent createEvent(int type, String propName, Object propValue, boolean before) Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
createEvent
in classorg.apache.commons.configuration.event.EventSource
-
createInterpolator
@Deprecated protected org.apache.commons.configuration.interpol.ConfigurationInterpolator createInterpolator()Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
createInterpolator
in classorg.apache.commons.configuration.AbstractConfiguration
-
fireError
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
fireError
in classorg.apache.commons.configuration.event.EventSource
-
fireEvent
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
fireEvent
in classorg.apache.commons.configuration.event.EventSource
-
getBigDecimal
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getBigDecimal
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getBigDecimal
in classorg.apache.commons.configuration.AbstractConfiguration
-
getBigDecimal
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getBigDecimal
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getBigDecimal
in classorg.apache.commons.configuration.AbstractConfiguration
-
getBigInteger
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getBigInteger
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getBigInteger
in classorg.apache.commons.configuration.AbstractConfiguration
-
getBigInteger
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getBigInteger
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getBigInteger
in classorg.apache.commons.configuration.AbstractConfiguration
-
getBoolean
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getBoolean
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getBoolean
in classorg.apache.commons.configuration.AbstractConfiguration
-
getBoolean
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getBoolean
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getBoolean
in classorg.apache.commons.configuration.AbstractConfiguration
-
getBoolean
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getBoolean
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getBoolean
in classorg.apache.commons.configuration.AbstractConfiguration
-
getByte
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getByte
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getByte
in classorg.apache.commons.configuration.AbstractConfiguration
-
getByte
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getByte
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getByte
in classorg.apache.commons.configuration.AbstractConfiguration
-
getByte
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getByte
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getByte
in classorg.apache.commons.configuration.AbstractConfiguration
-
getConfigurationListeners
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getConfigurationListeners
in classorg.apache.commons.configuration.event.EventSource
-
getDouble
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getDouble
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getDouble
in classorg.apache.commons.configuration.AbstractConfiguration
-
getDouble
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getDouble
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getDouble
in classorg.apache.commons.configuration.AbstractConfiguration
-
getDouble
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getDouble
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getDouble
in classorg.apache.commons.configuration.AbstractConfiguration
-
getErrorListeners
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getErrorListeners
in classorg.apache.commons.configuration.event.EventSource
-
getFloat
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getFloat
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getFloat
in classorg.apache.commons.configuration.AbstractConfiguration
-
getFloat
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getFloat
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getFloat
in classorg.apache.commons.configuration.AbstractConfiguration
-
getFloat
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getFloat
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getFloat
in classorg.apache.commons.configuration.AbstractConfiguration
-
getInt
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getInt
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getInt
in classorg.apache.commons.configuration.AbstractConfiguration
-
getInt
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getInt
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getInt
in classorg.apache.commons.configuration.AbstractConfiguration
-
getInteger
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getInteger
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getInteger
in classorg.apache.commons.configuration.AbstractConfiguration
-
getKeys
- Specified by:
getKeys
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getKeys
in classorg.apache.commons.configuration.CompositeConfiguration
-
getKeys
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getKeys
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getKeys
in classorg.apache.commons.configuration.CompositeConfiguration
-
getList
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getList
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getList
in classorg.apache.commons.configuration.AbstractConfiguration
-
getList
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getList
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getList
in classorg.apache.commons.configuration.CompositeConfiguration
-
getListDelimiter
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getListDelimiter
in classorg.apache.commons.configuration.AbstractConfiguration
-
getLong
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getLong
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getLong
in classorg.apache.commons.configuration.AbstractConfiguration
-
getLong
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getLong
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getLong
in classorg.apache.commons.configuration.AbstractConfiguration
-
getLong
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getLong
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getLong
in classorg.apache.commons.configuration.AbstractConfiguration
-
getNumberOfConfigurations
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getNumberOfConfigurations
in classorg.apache.commons.configuration.CompositeConfiguration
-
getProperties
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getProperties
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getProperties
in classorg.apache.commons.configuration.AbstractConfiguration
-
getProperties
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
getProperties
in classorg.apache.commons.configuration.AbstractConfiguration
-
getProperty
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getProperty
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getProperty
in classorg.apache.commons.configuration.CompositeConfiguration
-
getShort
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getShort
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getShort
in classorg.apache.commons.configuration.AbstractConfiguration
-
getShort
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getShort
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getShort
in classorg.apache.commons.configuration.AbstractConfiguration
-
getShort
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getShort
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getShort
in classorg.apache.commons.configuration.AbstractConfiguration
-
getString
- Specified by:
getString
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getString
in classorg.apache.commons.configuration.AbstractConfiguration
-
getString
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getString
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getString
in classorg.apache.commons.configuration.AbstractConfiguration
-
getStringArray
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
getStringArray
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getStringArray
in classorg.apache.commons.configuration.CompositeConfiguration
-
interpolate
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
interpolate
in classorg.apache.commons.configuration.AbstractConfiguration
-
interpolate
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
interpolate
in classorg.apache.commons.configuration.AbstractConfiguration
-
interpolateHelper
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
interpolateHelper
in classorg.apache.commons.configuration.AbstractConfiguration
-
isDelimiterParsingDisabled
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
isDelimiterParsingDisabled
in classorg.apache.commons.configuration.AbstractConfiguration
-
isDetailEvents
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
isDetailEvents
in classorg.apache.commons.configuration.event.EventSource
-
isEmpty
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
isEmpty
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
isEmpty
in classorg.apache.commons.configuration.CompositeConfiguration
-
isThrowExceptionOnMissing
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
isThrowExceptionOnMissing
in classorg.apache.commons.configuration.AbstractConfiguration
-
resolveContainerStore
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
resolveContainerStore
in classorg.apache.commons.configuration.AbstractConfiguration
-
setDelimiterParsingDisabled
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
setDelimiterParsingDisabled
in classorg.apache.commons.configuration.CompositeConfiguration
-
setDetailEvents
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
setDetailEvents
in classorg.apache.commons.configuration.event.EventSource
-
setListDelimiter
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
setListDelimiter
in classorg.apache.commons.configuration.CompositeConfiguration
-
setProperty
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Specified by:
setProperty
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
setProperty
in classorg.apache.commons.configuration.AbstractConfiguration
-
setThrowExceptionOnMissing
Deprecated.since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into Accumulo API- Overrides:
setThrowExceptionOnMissing
in classorg.apache.commons.configuration.AbstractConfiguration
-
fromFile(File)
instead.