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 Object
-
-
Constructor Summary
Constructors Constructor Description MethodSignature(Configuration configuration, Class<?> mapperInterface, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convertArgsToSqlCommandParam(Object[] args)
ResultHandler
extractResultHandler(Object[] args)
RowBounds
extractRowBounds(Object[] args)
String
getMapKey()
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, Class<?> mapperInterface, Method method)
-
-
Method Detail
-
hasRowBounds
public boolean hasRowBounds()
-
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 isjava.util.Optional
.- Returns:
- return
true
, if return type isjava.util.Optional
- Since:
- 3.5.0
-
getMapKey
public String getMapKey()
-
-