vavr is a functional programming library for the JVM.
It is greatly inspired by
scala and brings persistent,
immutable data structures to the Java world.
collect results from queries to these types and use them.
vavr value types can be used as arguments
and query results can be projected to
ClassDescriptionMappers similar to
MapEntryMappersbut map entries in vavr are in fact of type
Tuple2.JDBI-Plugin for vavr.io library supports single-value arguments (
Option, ...) supports vavr collections via
ResultBearing.collectInto(java.lang.reflect.Type)call supports key-value mappings of a tuple result (implicitly used by map collectors) supports tuple projection supports column mapping for