|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Instance
This class represents the information a client needs to know to connect to an instance of accumulo.
Method Summary | |
---|---|
AccumuloConfiguration |
getConfiguration()
get the AccumuloConfiguration to use when interacting with this instance |
Connector |
getConnector(java.lang.String user,
byte[] pass)
|
Connector |
getConnector(java.lang.String user,
java.lang.CharSequence pass)
|
java.lang.String |
getInstanceID()
Get a unique string that identifies this instance of accumulo. |
java.lang.String |
getInstanceName()
Returns the instance name given at system initialization time. |
java.util.List<java.lang.String> |
getMasterLocations()
Get the location(s) of the accumulo master and any redundant servers. |
java.lang.String |
getRootTabletLocation()
Get the location of the tablet server that is serving the root tablet. |
java.lang.String |
getZooKeepers()
|
int |
getZooKeepersSessionTimeOut()
|
void |
setConfiguration(AccumuloConfiguration conf)
set the AccumuloConfiguration to use when interacting with this instance |
Method Detail |
---|
java.lang.String getRootTabletLocation()
java.util.List<java.lang.String> getMasterLocations()
java.lang.String getInstanceID()
java.lang.String getInstanceName()
java.lang.String getZooKeepers()
int getZooKeepersSessionTimeOut()
Connector getConnector(java.lang.String user, byte[] pass) throws AccumuloException, AccumuloSecurityException
user
- pass
- A UTF-8 encoded password. The password may be cleared after making this call.
AccumuloException
AccumuloSecurityException
Connector getConnector(java.lang.String user, java.lang.CharSequence pass) throws AccumuloException, AccumuloSecurityException
user
- pass
- If a mutable CharSequence is passed in, it may be cleared after this call.
AccumuloException
AccumuloSecurityException
AccumuloConfiguration getConfiguration()
void setConfiguration(AccumuloConfiguration conf)
conf
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |