Accumulo.newClient()
and ClientInfo
instead@Deprecated public interface Instance
Modifier and Type | Method and Description |
---|---|
Connector |
getConnector(String principal,
AuthenticationToken token)
Deprecated.
Returns a connection to this instance of accumulo.
|
default Connector |
getConnector(String user,
byte[] pass)
Deprecated.
since 1.5, use
getConnector(String, AuthenticationToken) with
PasswordToken |
default Connector |
getConnector(String user,
ByteBuffer pass)
Deprecated.
since 1.5, use
getConnector(String, AuthenticationToken) with
PasswordToken |
default Connector |
getConnector(String user,
CharSequence pass)
Deprecated.
since 1.5, use
getConnector(String, AuthenticationToken) with
PasswordToken |
String |
getInstanceID()
Deprecated.
Returns a unique string that identifies this instance of accumulo.
|
String |
getInstanceName()
Deprecated.
Returns the instance name given at system initialization time.
|
List<String> |
getMasterLocations()
Deprecated.
Returns the location(s) of the accumulo master and any redundant servers.
|
String |
getRootTabletLocation()
Deprecated.
Returns the location of the tablet server that is serving the root tablet.
|
String |
getZooKeepers()
Deprecated.
Returns a comma-separated list of zookeeper servers the instance is using.
|
int |
getZooKeepersSessionTimeOut()
Deprecated.
Returns the zookeeper connection timeout.
|
String getRootTabletLocation()
List<String> getMasterLocations()
String getInstanceID()
String getInstanceName()
String getZooKeepers()
int getZooKeepersSessionTimeOut()
@Deprecated default Connector getConnector(String user, byte[] pass) throws AccumuloException, AccumuloSecurityException
getConnector(String, AuthenticationToken)
with
PasswordToken
user
- a valid accumulo userpass
- A UTF-8 encoded password. The password may be cleared after making this call.AccumuloException
- when a generic exception occursAccumuloSecurityException
- when a user's credentials are invalid@Deprecated default Connector getConnector(String user, ByteBuffer pass) throws AccumuloException, AccumuloSecurityException
getConnector(String, AuthenticationToken)
with
PasswordToken
user
- a valid accumulo userpass
- A UTF-8 encoded password. The password may be cleared after making this call.AccumuloException
- when a generic exception occursAccumuloSecurityException
- when a user's credentials are invalid@Deprecated default Connector getConnector(String user, CharSequence pass) throws AccumuloException, AccumuloSecurityException
getConnector(String, AuthenticationToken)
with
PasswordToken
user
- a valid accumulo userpass
- If a mutable CharSequence is passed in, it may be cleared after this call.AccumuloException
- when a generic exception occursAccumuloSecurityException
- when a user's credentials are invalidConnector getConnector(String principal, AuthenticationToken token) throws AccumuloException, AccumuloSecurityException
principal
- a valid accumulo usertoken
- Use the token type configured for the Accumulo instance you are connecting to. An
Accumulo instance with default configurations will use PasswordToken
AccumuloException
AccumuloSecurityException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.