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