public class InternalIndexDriverImpl extends BaseArangoDriver implements InternalIndexDriver
Modifier and Type | Field and Description |
---|---|
protected String |
baseUrl |
protected ArangoConfigure |
configure |
protected InternalCursorDriver |
cursorDriver |
protected HttpManager |
httpManager |
Modifier and Type | Method and Description |
---|---|
IndexEntity |
createCappedByDocumentSizeIndex(String database,
String collectionName,
int byteSize) |
IndexEntity |
createCappedIndex(String database,
String collectionName,
int size) |
IndexEntity |
createFulltextIndex(String database,
String collectionName,
Integer minLength,
String... fields) |
IndexEntity |
createIndex(String database,
String collectionName,
IndexType type,
boolean unique,
String... fields) |
IndexEntity |
deleteIndex(String database,
String indexHandle) |
HttpManager |
getHttpManager() |
IndexEntity |
getIndex(String database,
String indexHandle) |
IndexesEntity |
getIndexes(String database,
String collectionName) |
void |
setHttpManager(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 InternalCursorDriver cursorDriver
protected ArangoConfigure configure
protected HttpManager httpManager
protected String baseUrl
public IndexEntity createIndex(String database, String collectionName, IndexType type, boolean unique, String... fields) throws ArangoException
createIndex
in interface InternalIndexDriver
ArangoException
public IndexEntity createCappedIndex(String database, String collectionName, int size) throws ArangoException
createCappedIndex
in interface InternalIndexDriver
ArangoException
public IndexEntity createCappedByDocumentSizeIndex(String database, String collectionName, int byteSize) throws ArangoException
createCappedByDocumentSizeIndex
in interface InternalIndexDriver
ArangoException
public IndexEntity createFulltextIndex(String database, String collectionName, Integer minLength, String... fields) throws ArangoException
createFulltextIndex
in interface InternalIndexDriver
ArangoException
public IndexEntity deleteIndex(String database, String indexHandle) throws ArangoException
deleteIndex
in interface InternalIndexDriver
ArangoException
public IndexEntity getIndex(String database, String indexHandle) throws ArangoException
getIndex
in interface InternalIndexDriver
ArangoException
public IndexesEntity getIndexes(String database, String collectionName) throws ArangoException
getIndexes
in interface InternalIndexDriver
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.