public static final class UpdateProxyOperation.Builder<T> extends Object implements OperationWithIndexQueryBuilderOptions<UpdateProxyOperation.Builder<T>>, OperationWithTupleOperationBuilderOptions<UpdateProxyOperation.Builder<T>>
Modifier and Type | Field and Description |
---|---|
protected EnumMap<ProxyOperationArgument,Object> |
arguments |
protected Supplier<MessagePackObjectMapper> |
argumentsMapperSupplier |
protected TarantoolCallOperations |
client |
protected String |
functionName |
protected Supplier<CallResultMapper<T,SingleValueCallResult<T>>> |
resultMapperSupplier |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
void |
addArgument(ProxyOperationArgument optionName,
Object option) |
UpdateProxyOperation<T> |
build() |
UpdateProxyOperation.Builder<T> |
self() |
B |
withArgumentsMapperSupplier(Supplier<MessagePackObjectMapper> argumentsMapperSupplier)
Specify entity-to-MessagePack mapper for arguments contents conversion
|
B |
withClient(TarantoolCallOperations client)
Specify a client for sending and receiving requests from Tarantool server
|
B |
withFunctionName(String functionName)
Specify name of the Tarantool server function called through preparing request
|
B |
withOptions(O options)
Specify custom options
|
B |
withResultMapperSupplier(Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier)
Specify MessagePack-to-entity mapper for result contents conversion
|
B |
withSpaceName(String spaceName)
Specify name of Tarantool server space to work with
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withIndexQuery
withTupleOperation
addArgument
protected TarantoolCallOperations client
protected String functionName
protected EnumMap<ProxyOperationArgument,Object> arguments
protected Supplier<MessagePackObjectMapper> argumentsMapperSupplier
protected Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier
public UpdateProxyOperation.Builder<T> self()
self
in interface Self<UpdateProxyOperation.Builder<T>>
public UpdateProxyOperation<T> build()
public void addArgument(ProxyOperationArgument optionName, Object option)
addArgument
in interface BuilderOptions
public B withClient(TarantoolCallOperations client)
client
- Tarantool server clientpublic B withSpaceName(String spaceName)
spaceName
- name of Tarantool server spacepublic B withFunctionName(String functionName)
functionName
- name of Tarantool server functionpublic B withArgumentsMapperSupplier(Supplier<MessagePackObjectMapper> argumentsMapperSupplier)
argumentsMapperSupplier
- mapper supplier for arguments entity-to-MessagePack entity conversionpublic B withResultMapperSupplier(Supplier<CallResultMapper<T,SingleValueCallResult<T>>> resultMapperSupplier)
resultMapperSupplier
- mapper supplier for result value MessagePack entity-to-object conversionpublic B withOptions(O options)
options
- cluster proxy operation optionsCopyright © 2025 Picodata. All rights reserved.