Class TupleMapper<T>
java.lang.Object
io.vertx.mutiny.sqlclient.templates.TupleMapper<T>
- All Implemented Interfaces:
MutinyDelegate
Map an arbitrary
T object to a Tuple.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
TupleMapper
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTupleMapper(io.vertx.sqlclient.templates.TupleMapper<T> delegate) Create a new instance ofTupleMapperdelegating to the given (non-null) instance ofTupleMapper.TupleMapper(io.vertx.sqlclient.templates.TupleMapper<T> delegate, TypeArg<T> typeArg_0) TupleMapper(Object delegate, TypeArg<T> typeArg_0) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.sqlclient.templates.TupleMapper<T>Get the delegate instance.inthashCode()static TupleMapper<io.vertx.core.json.JsonObject>Map aJsonObjectto aTuple.The internal mapper contract that builds a tuple.static <T> TupleMapper<T>Create a mapper that associates a parameters object to a map of named parameters to their respective value.static <T> TupleMapper<T>newInstance(io.vertx.sqlclient.templates.TupleMapper<T> delegate) Creates a new instance of theTupleMapper.static <T> TupleMapper<T>newInstance(io.vertx.sqlclient.templates.TupleMapper<T> delegate, TypeArg<T> typeArg_0) Creates a new instance of theTupleMapper.toString()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
-
Constructor Details
-
TupleMapper
Create a new instance ofTupleMapperdelegating to the given (non-null) instance ofTupleMapper. -
TupleMapper
-
TupleMapper
-
-
Method Details
-
getDelegate
Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
mapper
Create a mapper that associates a parameters object to a map of named parameters to their respective value.- Parameters:
fn- the function turning a parameters object into a map- Returns:
- the mapper
-
jsonObject
Map aJsonObjectto aTuple. -
map
The internal mapper contract that builds a tuple.- Parameters:
mapping- associates an index to template parameter namesize- the tuple sizeparams- the parameters object- Returns:
- the tuple
-
newInstance
Creates a new instance of theTupleMapper. -
newInstance
public static <T> TupleMapper<T> newInstance(io.vertx.sqlclient.templates.TupleMapper<T> delegate, TypeArg<T> typeArg_0) Creates a new instance of theTupleMapper. -
hashCode
public int hashCode() -
equals
-
toString
-