public static class MapperMethod.MethodSignature extends Object
Constructor and Description |
---|
MethodSignature(Configuration configuration,
Class<?> mapperInterface,
Method method) |
Modifier and Type | Method and 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 is
java.util.Optional . |
boolean |
returnsVoid() |
public MethodSignature(Configuration configuration, Class<?> mapperInterface, Method method)
public boolean hasRowBounds()
public boolean hasResultHandler()
public ResultHandler extractResultHandler(Object[] args)
public Class<?> getReturnType()
public boolean returnsMany()
public boolean returnsMap()
public boolean returnsVoid()
public boolean returnsCursor()
public boolean returnsOptional()
java.util.Optional
.true
, if return type is java.util.Optional
public String getMapKey()
Copyright © 2009–2021 MyBatis.org. All rights reserved.