Package | Description |
---|---|
org.apache.accumulo.core.client | |
org.apache.accumulo.core.client.impl |
Modifier and Type | Method and Description |
---|---|
static ClientConfiguration |
ClientConfiguration.create()
Deprecated.
Initializes an empty configuration object to be further configured with other methods on the
class.
|
static ClientConfiguration |
ClientConfiguration.deserialize(String serializedConfig)
Deprecated.
|
static ClientConfiguration |
ClientConfiguration.fromFile(File file)
Deprecated.
Initializes a configuration object from the contents of a configuration file.
|
static ClientConfiguration |
ClientConfiguration.fromMap(Map<String,String> properties)
Deprecated.
Initializes a configuration object from the contents of a map.
|
static ClientConfiguration |
ClientConfiguration.loadDefault()
Deprecated.
Attempts to load a configuration file from the system using the default search paths.
|
ClientConfiguration |
ClientConfiguration.with(ClientConfiguration.ClientProperty prop,
String value)
Deprecated.
Same as
setProperty(ClientProperty, String) but returns the ClientConfiguration for
chaining purposes |
ClientConfiguration |
ClientConfiguration.with(String prop,
String value)
Deprecated.
Same as
setProperty(String, String) but returns the ClientConfiguration for chaining
purposes |
ClientConfiguration |
ClientConfiguration.withInstance(String instanceName)
Deprecated.
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_NAME |
ClientConfiguration |
ClientConfiguration.withInstance(UUID instanceId)
Deprecated.
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_ID |
ClientConfiguration |
ClientConfiguration.withKeystore(String path)
Deprecated.
Same as
withKeystore(String, String, String) with password null and type null |
ClientConfiguration |
ClientConfiguration.withKeystore(String path,
String password,
String type)
Deprecated.
Same as
with(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 |
ClientConfiguration |
ClientConfiguration.withSasl(boolean saslEnabled)
Deprecated.
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_RPC_SASL_ENABLED. |
ClientConfiguration |
ClientConfiguration.withSasl(boolean saslEnabled,
String kerberosServerPrimary)
Deprecated.
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_RPC_SASL_ENABLED and
ClientProperty.GENERAL_KERBEROS_PRINCIPAL. |
ClientConfiguration |
ClientConfiguration.withSsl(boolean sslEnabled)
Deprecated.
Same as
withSsl(boolean, boolean) with useJsseConfig set to false |
ClientConfiguration |
ClientConfiguration.withSsl(boolean sslEnabled,
boolean useJsseConfig)
Deprecated.
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_RPC_SSL_ENABLED and
ClientProperty.RPC_USE_JSSE |
ClientConfiguration |
ClientConfiguration.withTruststore(String path)
Deprecated.
Same as
withTruststore(String, String, String) with password null and type null |
ClientConfiguration |
ClientConfiguration.withTruststore(String path,
String password,
String type)
Deprecated.
Same as
with(ClientProperty, String) for ClientProperty.RPC_SSL_TRUSTORE_PATH,
ClientProperty.RPC_SSL_TRUSTORE_PASSWORD, and ClientProperty.RPC_SSL_TRUSTORE_TYPE |
ClientConfiguration |
ClientConfiguration.withZkHosts(String zooKeepers)
Deprecated.
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_ZK_HOST |
ClientConfiguration |
ClientConfiguration.withZkTimeout(int timeout)
Deprecated.
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_ZK_TIMEOUT |
Constructor and Description |
---|
ZooKeeperInstance(ClientConfiguration config)
Deprecated.
since 2.0.0; use
Accumulo.newClient() instead |
Modifier and Type | Method and Description |
---|---|
static ClientConfiguration |
ClientConfConverter.toClientConf(AccumuloConfiguration conf) |
static ClientConfiguration |
ClientConfConverter.toClientConf(Properties properties) |
Modifier and Type | Method and Description |
---|---|
static AccumuloConfiguration |
ClientConfConverter.toAccumuloConf(ClientConfiguration config)
A utility method for converting client configuration to a standard configuration object for use
internally.
|
static Properties |
ClientConfConverter.toProperties(ClientConfiguration clientConf) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.