Class PojoMapperFactory

All Implemented Interfaces:

public class PojoMapperFactory extends Object implements RowMapperFactory
Row mapper that inspects an immutables-style Immutable or Modifiable value class for properties and binds them in the style of BeanMapper.
  • Constructor Details

    • PojoMapperFactory

      public PojoMapperFactory()
  • Method Details

    • build

      public Optional<RowMapper<?>> build(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
      type - the target type to map to
      config - the config registry, for composition
      a row mapper for the given type if this factory supports it; Optional.empty() otherwise.
      See Also: