Class MapperMethod.MethodSignature

  • Enclosing class:
    MapperMethod

    public static class MapperMethod.MethodSignature
    extends Object
    The type Method signature.
    • Constructor Detail

      • MethodSignature

        public MethodSignature​(org.apache.ibatis.session.Configuration configuration,
                               Class<?> mapperInterface,
                               Method method)
        Instantiates a new Method signature.
        Parameters:
        configuration - the configuration
        mapperInterface - the mapper interface
        method - the method
    • Method Detail

      • convertArgsToSqlCommandParam

        public Object convertArgsToSqlCommandParam​(Object[] args)
        Convert args to sql command param object.
        Parameters:
        args - the args
        Returns:
        the object
      • hasRowBounds

        public boolean hasRowBounds()
        Has row bounds boolean.
        Returns:
        the boolean
      • extractRowBounds

        public org.apache.ibatis.session.RowBounds extractRowBounds​(Object[] args)
        Extract row bounds row bounds.
        Parameters:
        args - the args
        Returns:
        the row bounds
      • hasResultHandler

        public boolean hasResultHandler()
        Has result handler boolean.
        Returns:
        the boolean
      • extractResultHandler

        public org.apache.ibatis.session.ResultHandler extractResultHandler​(Object[] args)
        Extract result handler result handler.
        Parameters:
        args - the args
        Returns:
        the result handler
      • getReturnType

        public Class<?> getReturnType()
        Gets return type.
        Returns:
        the return type
      • getReturnInferredType

        public Class<?> getReturnInferredType()
        Gets return inferred type.
        Returns:
        the return inferred type
      • returnsMany

        public boolean returnsMany()
        Returns many boolean.
        Returns:
        the boolean
      • returnsVoid

        public boolean returnsVoid()
        Returns void boolean.
        Returns:
        the boolean