Annotation Type UseRowMapper


@Retention(RUNTIME) @Target(METHOD) public @interface UseRowMapper
Used to specify specific row mapper on a query method. Mutually exclusive with UseRowReducer.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends RowMapper<?>>
    The class implementing RowMapper.
  • Element Details

    • value

      Class<? extends RowMapper<?>> value
      The class implementing RowMapper. It must have a no-arg constructor.
      Returns:
      the class of row mapper to use.