All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arangodb.InternalDocumentDriver Maven / Gradle / Ivy

There is a newer version: 7.15.0
Show newest version
package com.arangodb;

import java.util.List;

import com.arangodb.entity.DocumentEntity;
import com.arangodb.entity.Policy;
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 createCollection,
		Boolean waitForSync) throws ArangoException;

	DocumentEntity createDocumentRaw(
		String database,
		String collectionName,
		String documentKey,
		String rawJsonString,
		Boolean createCollection,
		Boolean waitForSync) throws ArangoException;

	 DocumentEntity replaceDocument(
		String database,
		String documentHandle,
		T value,
		Long rev,
		Policy policy,
		Boolean waitForSync) throws ArangoException;

	 DocumentEntity updateDocument(
		String database,
		String documentHandle,
		T value,
		Long rev,
		Policy policy,
		Boolean waitForSync,
		Boolean keepNull) throws ArangoException;

	List getDocuments(String database, String collectionName, boolean handleConvert) throws ArangoException;

	long checkDocument(String database, String documentHandle) throws ArangoException;

	 DocumentEntity getDocument(
		String database,
		String documentHandle,
		Class clazz,
		Long ifNoneMatchRevision,
		Long ifMatchRevision) throws ArangoException;

	DocumentEntity deleteDocument(String database, String documentHandle, Long rev, Policy policy)
			throws ArangoException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy