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

com.arangodb.InternalCollectionDriver Maven / Gradle / Ivy

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

import com.arangodb.entity.CollectionEntity;
import com.arangodb.entity.CollectionOptions;
import com.arangodb.entity.CollectionsEntity;
import com.arangodb.impl.BaseDriverInterface;

/**
 * Created by fbartels on 10/27/14.
 */
public interface InternalCollectionDriver extends BaseDriverInterface {
	CollectionEntity createCollection(String database, String name, CollectionOptions collectionOptions)
			throws ArangoException;

	CollectionEntity getCollection(String database, String name) throws ArangoException;

	CollectionEntity getCollectionRevision(String database, String name) throws ArangoException;

	CollectionEntity getCollectionProperties(String database, String name) throws ArangoException;

	CollectionEntity getCollectionCount(String database, String name) throws ArangoException;

	CollectionEntity getCollectionFigures(String database, String name) throws ArangoException;

	CollectionEntity getCollectionChecksum(String database, String name, Boolean withRevisions, Boolean withData)
			throws ArangoException;

	CollectionsEntity getCollections(String database, Boolean excludeSystem) throws ArangoException;

	CollectionEntity loadCollection(String database, String name, Boolean count) throws ArangoException;

	CollectionEntity unloadCollection(String database, String name) throws ArangoException;

	CollectionEntity truncateCollection(String database, String name) throws ArangoException;

	CollectionEntity setCollectionProperties(String database, String name, Boolean newWaitForSync, Long journalSize)
			throws ArangoException;

	CollectionEntity renameCollection(String database, String name, String newName) throws ArangoException;

	CollectionEntity deleteCollection(String database, String name) throws ArangoException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy