public final class TarantoolRequestSignature extends Object
Constructor and Description |
---|
TarantoolRequestSignature()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TarantoolRequestSignature |
addComponent(Object component)
Add a signature component to the end of the components list
Appends either the component value if the component is of type String or the
component class to the components list and re-calculates the hashcode.
|
static TarantoolRequestSignature |
create(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Class<?> resultClass)
Factory method for caching default result mapper suppliers
|
static TarantoolRequestSignature |
create(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<?> resultContainerSupplier,
Class<?> resultClass)
Factory method for caching default multi value result mapper suppliers
|
static TarantoolRequestSignature |
create(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<?> resultContainerSupplier,
ValueConverter<org.msgpack.value.Value,?> valueConverter)
Factory method for caching default multi value result mapper suppliers
|
static TarantoolRequestSignature |
create(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
Supplier<? extends MessagePackValueMapper> resultMapperSupplier)
Factory method for a typical RPC usage
|
static TarantoolRequestSignature |
create(String functionName,
Collection<?> arguments,
Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier,
ValueConverter<org.msgpack.value.Value,?> valueConverter)
Factory method for caching default result mapper suppliers
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
public TarantoolRequestSignature()
public TarantoolRequestSignature addComponent(Object component)
component
- signature componentpublic static TarantoolRequestSignature create(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Class<?> resultClass)
functionName
- name of the remote functionarguments
- list of arguments for the remote functionargumentsMapperSupplier
- arguments mapper supplierresultClass
- type of the expected result. It's necessary
for polymorphic functions, e.g. accepting a
Tarantool space as an argumentpublic static TarantoolRequestSignature create(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, ValueConverter<org.msgpack.value.Value,?> valueConverter)
functionName
- name of the remote functionarguments
- list of arguments for the remote functionargumentsMapperSupplier
- arguments mapper suppliervalueConverter
- single value result converterpublic static TarantoolRequestSignature create(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<?> resultContainerSupplier, ValueConverter<org.msgpack.value.Value,?> valueConverter)
functionName
- name of the remote functionarguments
- list of arguments for the remote functionargumentsMapperSupplier
- arguments mapper supplierresultContainerSupplier
- multi value result container suppliervalueConverter
- multi value result container item converterpublic static TarantoolRequestSignature create(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<?> resultContainerSupplier, Class<?> resultClass)
functionName
- name of the remote functionarguments
- list of arguments for the remote functionargumentsMapperSupplier
- arguments mapper supplierresultContainerSupplier
- multi value result container supplierresultClass
- multi value result item classpublic static TarantoolRequestSignature create(String functionName, Collection<?> arguments, Supplier<? extends MessagePackObjectMapper> argumentsMapperSupplier, Supplier<? extends MessagePackValueMapper> resultMapperSupplier)
functionName
- name of the remote functionarguments
- list of arguments for the remote functionargumentsMapperSupplier
- arguments mapper supplierresultMapperSupplier
- result mapper supplierCopyright © 2025 Picodata. All rights reserved.