Package org.apache.ibatis.binding
Class MapperMethod.MethodSignature
java.lang.Object
org.apache.ibatis.binding.MapperMethod.MethodSignature
- Enclosing class:
MapperMethod
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final ParamNameResolverprivate final Integerprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final Class<?> private final Integer -
Constructor Summary
ConstructorsConstructorDescriptionMethodSignature(Configuration configuration, Class<?> mapperInterface, Method method) -
Method Summary
Modifier and TypeMethodDescriptionconvertArgsToSqlCommandParam(Object[] args) extractResultHandler(Object[] args) extractRowBounds(Object[] args) private StringClass<?> private IntegergetUniqueParamIndex(Method method, Class<?> paramType) booleanbooleanbooleanbooleanbooleanbooleanreturn whether return type isjava.util.Optional.boolean
-
Field Details
-
returnsMany
private final boolean returnsMany -
returnsMap
private final boolean returnsMap -
returnsVoid
private final boolean returnsVoid -
returnsCursor
private final boolean returnsCursor -
returnsOptional
private final boolean returnsOptional -
returnType
-
mapKey
-
resultHandlerIndex
-
rowBoundsIndex
-
paramNameResolver
-
-
Constructor Details
-
MethodSignature
-
-
Method Details
-
convertArgsToSqlCommandParam
-
hasRowBounds
public boolean hasRowBounds() -
extractRowBounds
-
hasResultHandler
public boolean hasResultHandler() -
extractResultHandler
-
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
-
getUniqueParamIndex
-
getMapKey
-
getMapKey
-