Class MapperMethod.MethodSignature

  • Enclosing class:
    MapperMethod

    public static class MapperMethod.MethodSignature
    extends java.lang.Object
    • Constructor Detail

      • MethodSignature

        public MethodSignature​(Configuration configuration,
                               java.lang.Class<?> mapperInterface,
                               java.lang.reflect.Method method)
    • Method Detail

      • convertArgsToSqlCommandParam

        public java.lang.Object convertArgsToSqlCommandParam​(java.lang.Object[] args)
      • hasRowBounds

        public boolean hasRowBounds()
      • extractRowBounds

        public RowBounds extractRowBounds​(java.lang.Object[] args)
      • hasResultHandler

        public boolean hasResultHandler()
      • extractResultHandler

        public ResultHandler extractResultHandler​(java.lang.Object[] args)
      • getMapKey

        public java.lang.String getMapKey()
      • getReturnType

        public java.lang.Class<?> getReturnType()
      • returnsMany

        public boolean returnsMany()
      • returnsMap

        public boolean returnsMap()
      • returnsVoid

        public boolean returnsVoid()
      • returnsCursor

        public boolean returnsCursor()
      • returnsOptional

        public boolean returnsOptional()
        return whether return type is java.util.Optional.
        Returns:
        return true, if return type is java.util.Optional
        Since:
        3.5.0