public class InternalIndexDriverImpl extends BaseArangoDriver implements InternalIndexDriver
Modifier and Type | Field and Description |
---|---|
protected AnnotationHandler |
annotationHandler |
protected static String |
COLLECTION |
protected ArangoConfigure |
configure |
protected InternalCursorDriver |
cursorDriver |
protected HttpManager |
httpManager |
Modifier and Type | Method and Description |
---|---|
IndexEntity |
createFulltextIndex(String database,
String collectionName,
Integer minLength,
String... fields) |
IndexEntity |
createIndex(String database,
String collectionName,
IndexType type,
boolean unique,
boolean sparse,
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) |
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 InternalCursorDriver cursorDriver
protected static final String COLLECTION
protected ArangoConfigure configure
protected HttpManager httpManager
protected AnnotationHandler annotationHandler
public IndexEntity createIndex(String database, String collectionName, IndexType type, boolean unique, boolean sparse, String... fields) throws ArangoException
createIndex
in interface InternalIndexDriver
ArangoException
public IndexEntity createIndex(String database, String collectionName, IndexType type, boolean unique, String... fields) throws ArangoException
createIndex
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–2016 ArangoDB GmbH. All rights reserved.