Class JpaMapperFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<RowMapper<?>> build​(java.lang.reflect.Type type, ConfigRegistry config)
      Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JpaMapperFactory

        public JpaMapperFactory()
    • Method Detail

      • build

        public java.util.Optional<RowMapper<?>> build​(java.lang.reflect.Type type,
                                                      ConfigRegistry config)
        Description copied from interface: RowMapperFactory
        Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.
        Specified by:
        build in interface RowMapperFactory
        Parameters:
        type - the target type to map to
        config - the config registry, for composition
        Returns:
        a row mapper for the given type if this factory supports it; Optional.empty() otherwise.
        See Also:
        for composition