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
      java.lang.Class<? extends RowMapper<?>> value
      The class implementing RowMapper.
    • Element Detail

      • value

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