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

org.tarantool.TarantoolClientOps Maven / Gradle / Ivy

The newest version!
package org.tarantool;

/**
 * Provides a set of typical operations with data in Tarantool.
 *
 * @param  represents space/index identifiers (not used anymore)
 * @param  represents tuple keys and/or tuples
 * @param 

represents tuples and/or update operations * @param represents an operation result */ public interface TarantoolClientOps { R select(Integer space, Integer index, O key, int offset, int limit, int iterator); R select(String space, String index, O key, int offset, int limit, int iterator); R select(Integer space, Integer index, O key, int offset, int limit, Iterator iterator); R select(String space, String index, O key, int offset, int limit, Iterator iterator); R insert(Integer space, O tuple); R insert(String space, O tuple); R replace(Integer space, O tuple); R replace(String space, O tuple); R update(Integer space, O key, P... tuple); R update(String space, O key, P... tuple); R upsert(Integer space, O key, O defTuple, P... ops); R upsert(String space, O key, O defTuple, P... ops); R delete(Integer space, O key); R delete(String space, O key); R call(String function, Object... args); R eval(String expression, Object... args); void ping(); void close(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy