public interface TarantoolEvalOperations
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<?>> |
eval(String expression)
Execute a Lua expression in the Tarantool instance.
|
CompletableFuture<List<?>> |
eval(String expression,
Collection<?> arguments)
Execute a Lua expression in the Tarantool instance.
|
CompletableFuture<List<?>> |
eval(String expression,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<? extends MessagePackValueMapper> resultMapperSupplier)
Execute a Lua expression in the Tarantool instance.
|
CompletableFuture<List<?>> |
eval(String expression,
Collection<?> arguments,
Supplier<? extends MessagePackValueMapper> resultMapperSupplier)
Execute a Lua expression in the Tarantool instance.
|
CompletableFuture<List<?>> |
eval(String expression,
Supplier<? extends MessagePackValueMapper> resultMapperSupplier)
Execute a Lua expression in the Tarantool instance.
|
CompletableFuture<List<?>> eval(String expression) throws TarantoolClientException
return
. The value mapper specified in the client configuration will be used for converting
the result values from MessagePack entities to objects.expression
- lua expression, must not be null or emptyTarantoolClientException
- if the client is not connectedCompletableFuture<List<?>> eval(String expression, Collection<?> arguments) throws TarantoolClientException
return
. The value mapper specified in the client configuration will be used for converting
the result values from MessagePack entities to objects.expression
- lua expression, must not be null or emptyarguments
- the 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 connectedCompletableFuture<List<?>> eval(String expression, Supplier<? extends MessagePackValueMapper> resultMapperSupplier) throws TarantoolClientException
return
.expression
- lua expression, must not be null or emptyresultMapperSupplier
- mapper supplier for result value MessagePack entity-to-object conversionTarantoolClientException
- if the client is not connectedCompletableFuture<List<?>> eval(String expression, Collection<?> arguments, Supplier<? extends MessagePackValueMapper> resultMapperSupplier) throws TarantoolClientException
return
.expression
- lua expression, must not be null or emptyarguments
- the 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 connectedCompletableFuture<List<?>> eval(String expression, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<? extends MessagePackValueMapper> resultMapperSupplier) throws TarantoolClientException
return
.expression
- lua expression, must not be null or emptyarguments
- the 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 connectedCopyright © 2025 Picodata. All rights reserved.