public interface Instance
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.accumulo.core.conf.AccumuloConfiguration | getConfiguration()Returns the AccumuloConfiguration to use when interacting with this instance. | 
| Connector | getConnector(org.apache.accumulo.core.security.thrift.AuthInfo auth)Deprecated. 
 since 1.5, use  getConnector(String, AuthenticationToken)withPasswordToken | 
| Connector | getConnector(String principal,
            AuthenticationToken token)Returns a connection to this instance of accumulo. | 
| Connector | getConnector(String user,
            byte[] pass)Deprecated. 
 since 1.5, use  getConnector(String, AuthenticationToken)withPasswordToken | 
| Connector | getConnector(String user,
            ByteBuffer pass)Deprecated. 
 since 1.5, use  getConnector(String, AuthenticationToken)withPasswordToken | 
| Connector | getConnector(String user,
            CharSequence pass)Deprecated. 
 since 1.5, use  getConnector(String, AuthenticationToken)withPasswordToken | 
| String | getInstanceID()Returns a unique string that identifies this instance of accumulo. | 
| String | getInstanceName()Returns the instance name given at system initialization time. | 
| List<String> | getMasterLocations()Returns the location(s) of the accumulo master and any redundant servers. | 
| String | getRootTabletLocation()Returns the location of the tablet server that is serving the root tablet. | 
| String | getZooKeepers()Returns a comma-separated list of zookeeper servers the instance is using. | 
| int | getZooKeepersSessionTimeOut()Returns the zookeeper connection timeout. | 
| void | setConfiguration(org.apache.accumulo.core.conf.AccumuloConfiguration conf)Set the AccumuloConfiguration to use when interacting with this instance. | 
String getRootTabletLocation()
List<String> getMasterLocations()
String getInstanceID()
String getInstanceName()
String getZooKeepers()
int getZooKeepersSessionTimeOut()
@Deprecated Connector getConnector(String user, byte[] pass) throws AccumuloException, AccumuloSecurityException
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 Connector getConnector(org.apache.accumulo.core.security.thrift.AuthInfo auth) throws AccumuloException, AccumuloSecurityException
auth - An Credentials object.AccumuloException - when a generic exception occursAccumuloSecurityException - when a user's credentials are invalid@Deprecated Connector getConnector(String user, ByteBuffer pass) throws AccumuloException, AccumuloSecurityException
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 Connector getConnector(String user, CharSequence pass) throws AccumuloException, AccumuloSecurityException
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 invalidorg.apache.accumulo.core.conf.AccumuloConfiguration getConfiguration()
void setConfiguration(org.apache.accumulo.core.conf.AccumuloConfiguration conf)
conf - accumulo configurationConnector 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
          PasswordTokenAccumuloExceptionAccumuloSecurityExceptionCopyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.