public interface TarantoolCallOperations
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<List<?>> |
call(String functionName)
Execute a function defined on Tarantool instance.
|
CompletableFuture<List<?>> |
call(String functionName,
Collection<?> arguments)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
call(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
call(String functionName,
Collection<?> arguments,
Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
CompletableFuture<List<?>> |
call(String functionName,
Object... arguments)
Execute a function defined on Tarantool instance, The value mapper specified in the client configuration will be
used for converting the result values from MessagePack entities to objects.
|
<T> CompletableFuture<T> |
call(String functionName,
Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<CallResultMapper<R,MultiValueCallResult<T,R>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<R> resultContainerSupplier,
Class<T> resultClass)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<R> resultContainerSupplier,
ValueConverter<org.msgpack.value.Value,T> valueConverter)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Collection<?> arguments,
Supplier<CallResultMapper<R,MultiValueCallResult<T,R>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Collection<?> arguments,
Supplier<R> resultContainerSupplier,
Class<T> resultClass)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Collection<?> arguments,
Supplier<R> resultContainerSupplier,
ValueConverter<org.msgpack.value.Value,T> valueConverter)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Supplier<CallResultMapper<R,MultiValueCallResult<T,R>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Supplier<R> resultContainerSupplier,
Class<T> resultClass)
Execute a function defined on Tarantool instance.
|
<T,R extends List<T>> |
callForMultiResult(String functionName,
Supplier<R> resultContainerSupplier,
ValueConverter<org.msgpack.value.Value,T> valueConverter)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
Class<T> resultClass)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
Collection<?> arguments,
Class<T> resultClass)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Class<T> resultClass)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
ValueConverter<org.msgpack.value.Value,T> valueConverter)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
Collection<?> arguments,
Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
Collection<?> arguments,
ValueConverter<org.msgpack.value.Value,T> valueConverter)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<T> |
callForSingleResult(String functionName,
ValueConverter<org.msgpack.value.Value,T> valueConverter)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<TarantoolResult<T>> |
callForTupleResult(String functionName,
Class<T> entityClass)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<TarantoolResult<T>> |
callForTupleResult(String functionName,
Collection<?> arguments,
Class<T> entityClass)
Execute a function defined on Tarantool instance.
|
<T> CompletableFuture<TarantoolResult<T>> |
callForTupleResult(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Class<T> entityClass)
Execute a function defined on Tarantool instance.
|
ResultMapperFactoryFactory |
getResultMapperFactoryFactory()
Get the default factory for result mapper factory instances
|
CompletableFuture<List<?>> call(String functionName) throws TarantoolClientException
functionName - function name, must not be null or emptyTarantoolClientException - if the client is not connected or some other error occurredCompletableFuture<List<?>> call(String functionName, Object... arguments) throws TarantoolClientException
functionName - function name, must not be null or emptyarguments - vararg array of function arguments. The object mapper specified in the client configuration
will be used for arguments conversion to MessagePack entitiesTarantoolClientException - if the client is not connected or some other error occurredCompletableFuture<List<?>> call(String functionName, Collection<?> arguments) throws TarantoolClientException
functionName - function name, must not be null or emptyarguments - list of function arguments. The object mapper specified in the client configuration
will be used for arguments conversion to MessagePack entitiesTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<TarantoolResult<T>> callForTupleResult(String functionName, Class<T> entityClass) throws TarantoolClientException
T - desired function call result typefunctionName - function name, must not be null or emptyentityClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> call(String functionName, Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier) throws TarantoolClientException
T - desired function call result typefunctionName - function name, must not be null or emptyresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<TarantoolResult<T>> callForTupleResult(String functionName, Collection<?> arguments, Class<T> entityClass) throws TarantoolClientException
T - desired function call result typefunctionName - function name, must not be null or emptyarguments - list of function arguments. The object mapper specified in the client configuration
will be used for arguments conversion to MessagePack entitiesentityClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> call(String functionName, Collection<?> arguments, Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier) throws TarantoolClientException
T - desired function call result typefunctionName - function name, must not be null or emptyarguments - list of function arguments. The object mapper specified in the client configuration
will be used for arguments conversion to MessagePack entitiesresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<TarantoolResult<T>> callForTupleResult(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Class<T> entityClass) throws TarantoolClientException
T - desired function call result typefunctionName - function name, must not be null or emptyarguments - list of function argumentsargumentsMapperSupplier - mapper supplier for arguments object-to-MessagePack entity conversionentityClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> call(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier) throws TarantoolClientException
T - desired function call result typefunctionName - function name, must not be null or emptyarguments - list of function argumentsargumentsMapperSupplier - mapper supplier for arguments object-to-MessagePack entity conversionresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Class<T> resultClass) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyarguments - list of function argumentsargumentsMapperSupplier - mapper supplier for arguments object-to-MessagePack entity conversionresultClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, ValueConverter<org.msgpack.value.Value,T> valueConverter) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyarguments - list of function argumentsargumentsMapperSupplier - mapper supplier for arguments object-to-MessagePack entity conversionvalueConverter - MessagePack value to entity converter for each result itemTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyarguments - list of function argumentsargumentsMapperSupplier - mapper supplier for arguments object-to-MessagePack entity conversionresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, Collection<?> arguments, Class<T> resultClass) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyarguments - list of function argumentsresultClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, Collection<?> arguments, ValueConverter<org.msgpack.value.Value,T> valueConverter) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyarguments - list of function argumentsvalueConverter - MessagePack value to entity converter for each result itemTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, Collection<?> arguments, Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyarguments - list of function argumentsresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, Class<T> resultClass) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyresultClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, ValueConverter<org.msgpack.value.Value,T> valueConverter) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyvalueConverter - MessagePack value to entity converter for each result itemTarantoolClientException - if the client is not connected or some other error occurred<T> CompletableFuture<T> callForSingleResult(String functionName, Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier) throws TarantoolClientException
T - target result content typefunctionName - function name, must not be null or emptyresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<R> resultContainerSupplier, Class<T> resultClass) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyarguments - list of function argumentsargumentsMapperSupplier - mapper supplier for arguments object-to-MessagePack entity conversionresultContainerSupplier - supplier function for new empty result collectionresultClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<R> resultContainerSupplier, ValueConverter<org.msgpack.value.Value,T> valueConverter) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyarguments - list of function argumentsargumentsMapperSupplier - mapper supplier for arguments object-to-MessagePack entity conversionresultContainerSupplier - supplier function for new empty result collectionvalueConverter - MessagePack value to entity converter for each result itemTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<CallResultMapper<R,MultiValueCallResult<T,R>>> resultMapperSupplier) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyarguments - list of function argumentsargumentsMapperSupplier - mapper supplier for arguments object-to-MessagePack entity conversionresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Collection<?> arguments, Supplier<R> resultContainerSupplier, Class<T> resultClass) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyarguments - list of function argumentsresultContainerSupplier - supplier function for new empty result collectionresultClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Collection<?> arguments, Supplier<R> resultContainerSupplier, ValueConverter<org.msgpack.value.Value,T> valueConverter) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyarguments - list of function argumentsresultContainerSupplier - supplier function for new empty result collectionvalueConverter - MessagePack value to entity converter for each result itemTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Collection<?> arguments, Supplier<CallResultMapper<R,MultiValueCallResult<T,R>>> resultMapperSupplier) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyarguments - list of function argumentsresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Supplier<R> resultContainerSupplier, Class<T> resultClass) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyresultContainerSupplier - supplier function for new empty result collectionresultClass - target result entity classTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Supplier<R> resultContainerSupplier, ValueConverter<org.msgpack.value.Value,T> valueConverter) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyresultContainerSupplier - supplier function for new empty result collectionvalueConverter - MessagePack value to entity converter for each result itemTarantoolClientException - if the client is not connected or some other error occurred<T,R extends List<T>> CompletableFuture<R> callForMultiResult(String functionName, Supplier<CallResultMapper<R,MultiValueCallResult<T,R>>> resultMapperSupplier) throws TarantoolClientException
T - target result content typeR - target result typefunctionName - function name, must not be null or emptyresultMapperSupplier - mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException - if the client is not connected or some other error occurredResultMapperFactoryFactory getResultMapperFactoryFactory()
Copyright © 2025 Picodata. All rights reserved.