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

com.arangodb.InternalSimpleDriver Maven / Gradle / Ivy

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

import java.util.Map;

import com.arangodb.entity.ScalarExampleEntity;
import com.arangodb.entity.SimpleByResultEntity;
import com.arangodb.impl.BaseDriverInterface;

/**
 * Created by fbartels on 10/27/14.
 */
public interface InternalSimpleDriver extends BaseDriverInterface {

	 DocumentCursor executeSimpleAllDocuments(
		String database,
		String collectionName,
		int skip,
		int limit,
		Class clazz) throws ArangoException;

	 DocumentCursor executeSimpleByExampleDocuments(
		String database,
		String collectionName,
		Map example,
		int skip,
		int limit,
		Class clazz) throws ArangoException;

	 ScalarExampleEntity executeSimpleFirstExample(
		String database,
		String collectionName,
		Map example,
		Class clazz) throws ArangoException;

	 ScalarExampleEntity executeSimpleAny(String database, String collectionName, Class clazz)
			throws ArangoException;

	 DocumentCursor executeSimpleRangeWithDocuments(
		String database,
		String collectionName,
		String attribute,
		Object left,
		Object right,
		Boolean closed,
		int skip,
		int limit,
		Class clazz) throws ArangoException;

	SimpleByResultEntity executeSimpleRemoveByExample(
		String database,
		String collectionName,
		Map example,
		Boolean waitForSync,
		Integer limit) throws ArangoException;

	SimpleByResultEntity executeSimpleReplaceByExample(
		String database,
		String collectionName,
		Map example,
		Map newValue,
		Boolean waitForSync,
		Integer limit) throws ArangoException;

	SimpleByResultEntity executeSimpleUpdateByExample(
		String database,
		String collectionName,
		Map example,
		Map newValue,
		Boolean keepNull,
		Boolean waitForSync,
		Integer limit) throws ArangoException;

	 DocumentCursor executeSimpleFulltextWithDocuments(
		String database,
		String collectionName,
		String attribute,
		String query,
		int skip,
		int limit,
		String index,
		Class clazz) throws ArangoException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy