Class SimpleMapBeanMapper<T>

java.lang.Object
io.github.connellite.reflection.SimpleMapBeanMapper<T>
Type Parameters:
T - bean type (no-arg constructor for class beans; canonical constructor for records)

public class SimpleMapBeanMapper<T> extends Object
Maps one logical row represented as Map<String, Object> into bean/record instance.
  • Constructor Details

    • SimpleMapBeanMapper

      public SimpleMapBeanMapper(Class<T> beanClass)
  • Method Details

    • mapRow

      public T mapRow(Map<String,Object> row)
      Maps one logical row expressed as a map from string key to value.