com.arangodb.InternalDocumentDriver Maven / Gradle / Ivy
package com.arangodb;
import java.util.List;
import com.arangodb.entity.DocumentEntity;
import com.arangodb.entity.EdgeEntity;
import com.arangodb.impl.BaseDriverInterface;
/**
* Created by fbartels on 10/27/14.
*/
public interface InternalDocumentDriver extends BaseDriverInterface {
DocumentEntity createDocument(
String database,
String collectionName,
String documentKey,
T value,
Boolean waitForSync) throws ArangoException;
DocumentEntity createDocumentRaw(
String database,
String collectionName,
String rawJsonString,
Boolean waitForSync) throws ArangoException;
DocumentEntity replaceDocument(
String database,
String documentHandle,
T value,
Long rev,
Boolean waitForSync) throws ArangoException;
DocumentEntity replaceDocumentRaw(
String database,
String documentHandle,
String rawJsonString,
Long rev,
Boolean waitForSync) throws ArangoException;
DocumentEntity updateDocument(
String database,
String documentHandle,
T value,
Long rev,
Boolean waitForSync,
Boolean keepNull) throws ArangoException;
DocumentEntity updateDocumentRaw(
String database,
String documentHandle,
String rawJsonString,
Long rev,
Boolean waitForSync,
Boolean keepNull) throws ArangoException;
List getDocuments(String database, String collectionName) throws ArangoException;
long checkDocument(String database, String documentHandle) throws ArangoException;
DocumentEntity getDocument(
String database,
String documentHandle,
Class clazz,
Long ifNoneMatchRevision,
Long ifMatchRevision) throws ArangoException;
String getDocumentRaw(String database, String documentHandle, Long ifNoneMatchRevision, Long ifMatchRevision)
throws ArangoException;
DocumentEntity> deleteDocument(String database, String documentHandle, Long rev) throws ArangoException;
EdgeEntity createEdge(
String database,
String collectionName,
String documentKey,
T value,
String fromHandle,
String toHandle,
Boolean waitForSync) throws ArangoException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy