public class InternalDatabaseDriverImpl extends BaseArangoDriver implements InternalDatabaseDriver
Modifier and Type | Field and Description |
---|---|
protected AnnotationHandler |
annotationHandler |
protected static String |
COLLECTION |
protected ArangoConfigure |
configure |
protected HttpManager |
httpManager |
Modifier and Type | Method and Description |
---|---|
BooleanResultEntity |
createDatabase(String database,
UserEntity... users) |
BooleanResultEntity |
deleteDatabase(String database) |
DatabaseEntity |
getCurrentDatabase(String database) |
StringsResultEntity |
getDatabases(boolean currentUserAccessableOnly,
String username,
String password) |
HttpManager |
getHttpManager() |
void |
setHttpManager(HttpManager httpManager) |
createDocumentEndpointUrl, createDocumentHandle, createDocumentHandle, createEndpointUrl, createEndpointUrl, createEntity, createEntity, createEntity, createEntity, createEntityImpl, createGharialEndpointUrl, createIndexEndpointUrl, createJobEndpointUrl, createUserEndpointUrl, getJSONResponseText, setKeyValueHeader, setStatusCode, toReplicationDumpHeader, validate, validateCollectionName, validateDatabaseName, validateDocumentHandle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHttpManager, setHttpManager
protected static final String COLLECTION
protected ArangoConfigure configure
protected HttpManager httpManager
protected AnnotationHandler annotationHandler
public DatabaseEntity getCurrentDatabase(String database) throws ArangoException
getCurrentDatabase
in interface InternalDatabaseDriver
ArangoException
public StringsResultEntity getDatabases(boolean currentUserAccessableOnly, String username, String password) throws ArangoException
getDatabases
in interface InternalDatabaseDriver
ArangoException
public BooleanResultEntity createDatabase(String database, UserEntity... users) throws ArangoException
createDatabase
in interface InternalDatabaseDriver
ArangoException
public BooleanResultEntity deleteDatabase(String database) throws ArangoException
deleteDatabase
in interface InternalDatabaseDriver
ArangoException
public HttpManager getHttpManager()
getHttpManager
in interface BaseDriverInterface
public void setHttpManager(HttpManager httpManager)
setHttpManager
in interface BaseDriverInterface
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.