Annotation Type UseRowReducer


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface UseRowReducer
    Used to specify a row reducer on a result-bearing method. Mutually exclusive with UseRowMapper.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends RowReducer<?,​?>> value
      The class implementing RowReducer.
    • Element Detail

      • value

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