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.ObjectconvertArgsToSqlCommandParam(java.lang.Object[] args)ResultHandlerextractResultHandler(java.lang.Object[] args)RowBoundsextractRowBounds(java.lang.Object[] args)java.lang.StringgetMapKey()java.lang.Class<?>getReturnType()booleanhasResultHandler()booleanhasRowBounds()booleanreturnsCursor()booleanreturnsMany()booleanreturnsMap()booleanreturnsOptional()return whether return type isjava.util.Optional.booleanreturnsVoid()
-
-
-
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
-
-