Class MapperMethod.MethodSignature

java.lang.Object
org.apache.ibatis.binding.MapperMethod.MethodSignature
Enclosing class:
MapperMethod

public static class MapperMethod.MethodSignature extends Object
  • Field Details

    • returnsMany

      private final boolean returnsMany
    • returnsMap

      private final boolean returnsMap
    • returnsVoid

      private final boolean returnsVoid
    • returnsCursor

      private final boolean returnsCursor
    • returnsOptional

      private final boolean returnsOptional
    • returnType

      private final Class<?> returnType
    • mapKey

      private final String mapKey
    • resultHandlerIndex

      private final Integer resultHandlerIndex
    • rowBoundsIndex

      private final Integer rowBoundsIndex
    • paramNameResolver

      private final ParamNameResolver paramNameResolver
  • Constructor Details

  • Method Details

    • convertArgsToSqlCommandParam

      public Object convertArgsToSqlCommandParam(Object[] args)
    • hasRowBounds

      public boolean hasRowBounds()
    • extractRowBounds

      public RowBounds extractRowBounds(Object[] args)
    • hasResultHandler

      public boolean hasResultHandler()
    • extractResultHandler

      public ResultHandler extractResultHandler(Object[] args)
    • getReturnType

      public 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
    • getUniqueParamIndex

      private Integer getUniqueParamIndex(Method method, Class<?> paramType)
    • getMapKey

      public String getMapKey()
    • getMapKey

      private String getMapKey(Method method)