public class InternalSimpleDriverImpl extends BaseArangoDriver implements InternalSimpleDriver
Modifier and Type | Field and Description |
---|---|
protected String |
baseUrl |
protected ArangoConfigure |
configure |
protected InternalCursorDriver |
cursorDriver |
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 InternalCursorDriver cursorDriver
protected ArangoConfigure configure
protected HttpManager httpManager
protected String baseUrl
public <T> CursorEntity<T> executeSimpleAll(String database, String collectionName, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleAll
in interface InternalSimpleDriver
ArangoException
public <T> CursorResultSet<T> executeSimpleAllWithResultSet(String database, String collectionName, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleAllWithResultSet
in interface InternalSimpleDriver
ArangoException
public <T> CursorEntity<DocumentEntity<T>> executeSimpleAllWithDocument(String database, String collectionName, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleAllWithDocument
in interface InternalSimpleDriver
ArangoException
public <T> CursorResultSet<DocumentEntity<T>> executeSimpleAllWithDocumentResultSet(String database, String collectionName, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleAllWithDocumentResultSet
in interface InternalSimpleDriver
ArangoException
public <T> CursorEntity<T> executeSimpleByExample(String database, String collectionName, Map<String,Object> example, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleByExample
in interface InternalSimpleDriver
ArangoException
public <T> CursorResultSet<T> executeSimpleByExampleWithResultSet(String database, String collectionName, Map<String,Object> example, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleByExampleWithResultSet
in interface InternalSimpleDriver
ArangoException
public <T> CursorEntity<DocumentEntity<T>> executeSimpleByExampleWithDocument(String database, String collectionName, Map<String,Object> example, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleByExampleWithDocument
in interface InternalSimpleDriver
ArangoException
public <T> CursorResultSet<DocumentEntity<T>> executeSimpleByExampleWithDocumentResultSet(String database, String collectionName, Map<String,Object> example, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleByExampleWithDocumentResultSet
in interface InternalSimpleDriver
ArangoException
public <T> ScalarExampleEntity<T> executeSimpleFirstExample(String database, String collectionName, Map<String,Object> example, Class<?> clazz) throws ArangoException
executeSimpleFirstExample
in interface InternalSimpleDriver
ArangoException
public <T> ScalarExampleEntity<T> executeSimpleAny(String database, String collectionName, Class<?> clazz) throws ArangoException
executeSimpleAny
in interface InternalSimpleDriver
ArangoException
public <T> CursorEntity<T> executeSimpleRange(String database, String collectionName, String attribute, Object left, Object right, Boolean closed, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleRange
in interface InternalSimpleDriver
ArangoException
public <T> CursorResultSet<T> executeSimpleRangeWithResultSet(String database, String collectionName, String attribute, Object left, Object right, Boolean closed, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleRangeWithResultSet
in interface InternalSimpleDriver
ArangoException
public <T> CursorEntity<DocumentEntity<T>> executeSimpleRangeWithDocument(String database, String collectionName, String attribute, Object left, Object right, Boolean closed, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleRangeWithDocument
in interface InternalSimpleDriver
ArangoException
public <T> CursorResultSet<DocumentEntity<T>> executeSimpleRangeWithDocumentResultSet(String database, String collectionName, String attribute, Object left, Object right, Boolean closed, int skip, int limit, Class<?> clazz) throws ArangoException
executeSimpleRangeWithDocumentResultSet
in interface InternalSimpleDriver
ArangoException
public SimpleByResultEntity executeSimpleRemoveByExample(String database, String collectionName, Map<String,Object> example, Boolean waitForSync, Integer limit) throws ArangoException
executeSimpleRemoveByExample
in interface InternalSimpleDriver
ArangoException
public SimpleByResultEntity executeSimpleReplaceByExample(String database, String collectionName, Map<String,Object> example, Map<String,Object> newValue, Boolean waitForSync, Integer limit) throws ArangoException
executeSimpleReplaceByExample
in interface InternalSimpleDriver
ArangoException
public SimpleByResultEntity executeSimpleUpdateByExample(String database, String collectionName, Map<String,Object> example, Map<String,Object> newValue, Boolean keepNull, Boolean waitForSync, Integer limit) throws ArangoException
executeSimpleUpdateByExample
in interface InternalSimpleDriver
ArangoException
public <T> CursorEntity<T> executeSimpleFulltext(String database, String collectionName, String attribute, String query, int skip, int limit, String index, Class<?> clazz) throws ArangoException
executeSimpleFulltext
in interface InternalSimpleDriver
ArangoException
public <T> CursorResultSet<T> executeSimpleFulltextWithResultSet(String database, String collectionName, String attribute, String query, int skip, int limit, String index, Class<?> clazz) throws ArangoException
executeSimpleFulltextWithResultSet
in interface InternalSimpleDriver
ArangoException
public <T> CursorEntity<DocumentEntity<T>> executeSimpleFulltextWithDocument(String database, String collectionName, String attribute, String query, int skip, int limit, String index, Class<?> clazz) throws ArangoException
executeSimpleFulltextWithDocument
in interface InternalSimpleDriver
ArangoException
public <T> CursorResultSet<DocumentEntity<T>> executeSimpleFulltextWithDocumentResultSet(String database, String collectionName, String attribute, String query, int skip, int limit, String index, Class<?> clazz) throws ArangoException
executeSimpleFulltextWithDocumentResultSet
in interface InternalSimpleDriver
ArangoException
public <T> DocumentResultEntity<T> executeSimpleFirst(String database, String collectionName, Integer count, Class<?> clazz) throws ArangoException
executeSimpleFirst
in interface InternalSimpleDriver
ArangoException
public <T> DocumentResultEntity<T> executeSimpleLast(String database, String collectionName, Integer count, Class<?> clazz) throws ArangoException
executeSimpleLast
in interface InternalSimpleDriver
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.