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, validateDocumentHandleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHttpManager, setHttpManagerprotected 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 InternalIndexDriverArangoExceptionpublic IndexEntity createCappedIndex(String database, String collectionName, int size) throws ArangoException
createCappedIndex in interface InternalIndexDriverArangoExceptionpublic IndexEntity createCappedByDocumentSizeIndex(String database, String collectionName, int byteSize) throws ArangoException
createCappedByDocumentSizeIndex in interface InternalIndexDriverArangoExceptionpublic IndexEntity createFulltextIndex(String database, String collectionName, Integer minLength, String... fields) throws ArangoException
createFulltextIndex in interface InternalIndexDriverArangoExceptionpublic IndexEntity deleteIndex(String database, String indexHandle) throws ArangoException
deleteIndex in interface InternalIndexDriverArangoExceptionpublic IndexEntity getIndex(String database, String indexHandle) throws ArangoException
getIndex in interface InternalIndexDriverArangoExceptionpublic IndexesEntity getIndexes(String database, String collectionName) throws ArangoException
getIndexes in interface InternalIndexDriverArangoExceptionpublic HttpManager getHttpManager()
getHttpManager in interface BaseDriverInterfacepublic void setHttpManager(HttpManager httpManager)
setHttpManager in interface BaseDriverInterfaceCopyright © 2012–2015 ArangoDB GmbH. All rights reserved.