public class InternalCollectionDriverImpl extends BaseArangoDriver implements InternalCollectionDriver
Modifier and Type | Field and Description |
---|---|
protected String |
baseUrl |
protected ArangoConfigure |
configure |
protected HttpManager |
httpManager |
createDocumentHandle, createDocumentHandle, createEndpointUrl, createEntity, createEntity, createEntity, createEntity, createEntityImpl, setKeyValueHeader, setStatusCode, toReplicationDumpHeader, validate, validateCollectionName, validateDatabaseName, validateDocumentHandle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHttpManager, setHttpManager
protected ArangoConfigure configure
protected HttpManager httpManager
protected String baseUrl
public CollectionEntity createCollection(String database, String name, CollectionOptions collectionOptions) throws ArangoException
createCollection
in interface InternalCollectionDriver
ArangoException
public CollectionEntity getCollection(String database, String name) throws ArangoException
getCollection
in interface InternalCollectionDriver
ArangoException
public CollectionEntity getCollectionRevision(String database, String name) throws ArangoException
getCollectionRevision
in interface InternalCollectionDriver
ArangoException
public CollectionEntity getCollectionProperties(String database, String name) throws ArangoException
getCollectionProperties
in interface InternalCollectionDriver
ArangoException
public CollectionEntity getCollectionCount(String database, String name) throws ArangoException
getCollectionCount
in interface InternalCollectionDriver
ArangoException
public CollectionEntity getCollectionFigures(String database, String name) throws ArangoException
getCollectionFigures
in interface InternalCollectionDriver
ArangoException
public CollectionEntity getCollectionChecksum(String database, String name, Boolean withRevisions, Boolean withData) throws ArangoException
getCollectionChecksum
in interface InternalCollectionDriver
ArangoException
public CollectionsEntity getCollections(String database, Boolean excludeSystem) throws ArangoException
getCollections
in interface InternalCollectionDriver
ArangoException
public CollectionEntity loadCollection(String database, String name, Boolean count) throws ArangoException
loadCollection
in interface InternalCollectionDriver
ArangoException
public CollectionEntity unloadCollection(String database, String name) throws ArangoException
unloadCollection
in interface InternalCollectionDriver
ArangoException
public CollectionEntity truncateCollection(String database, String name) throws ArangoException
truncateCollection
in interface InternalCollectionDriver
ArangoException
public CollectionEntity setCollectionProperties(String database, String name, Boolean newWaitForSync, Long journalSize) throws ArangoException
setCollectionProperties
in interface InternalCollectionDriver
ArangoException
public CollectionEntity renameCollection(String database, String name, String newName) throws ArangoException
renameCollection
in interface InternalCollectionDriver
ArangoException
public CollectionEntity deleteCollection(String database, String name) throws ArangoException
deleteCollection
in interface InternalCollectionDriver
ArangoException
public HttpManager getHttpManager()
getHttpManager
in interface BaseDriverInterface
public void setHttpManager(HttpManager httpManager)
setHttpManager
in interface BaseDriverInterface
Copyright © 2012–2015 ArangoDB GmbH. All rights reserved.