Package org.apache.ibatis.binding
Class MapperMethod.MethodSignature
- java.lang.Object
-
- org.apache.ibatis.binding.MapperMethod.MethodSignature
-
- Enclosing class:
- MapperMethod
public static class MapperMethod.MethodSignature extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MethodSignature(Configuration configuration, java.lang.Class<?> mapperInterface, java.lang.reflect.Method method)
-
Method Summary
Modifier and Type Method Description java.lang.Object
convertArgsToSqlCommandParam(java.lang.Object[] args)
ResultHandler
extractResultHandler(java.lang.Object[] args)
RowBounds
extractRowBounds(java.lang.Object[] args)
java.lang.String
getMapKey()
java.lang.Class<?>
getReturnType()
boolean
hasResultHandler()
boolean
hasRowBounds()
boolean
returnsCursor()
boolean
returnsMany()
boolean
returnsMap()
boolean
returnsOptional()
return whether return type isjava.util.Optional
.boolean
returnsVoid()
-
-
-
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 isjava.util.Optional
.- Returns:
- return
true
, if return type isjava.util.Optional
- Since:
- 3.5.0
-
-