Class BaseMethodProxy
java.lang.Object
me.danwi.sqlex.core.invoke.method.BaseMethodProxy
- All Implemented Interfaces:
MethodProxy
- Direct Known Subclasses:
InsertMethodProxy,SelectMethodProxy,UpdateDeleteMethodProxy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreorderArgs(Object[] methodArgs) 根据预处理参数重排序方法参数protected StringrewriteSQL(Object[] methodArgs) 根据方法调用时的参数来重写SQLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.danwi.sqlex.core.invoke.method.MethodProxy
invoke
-
Field Details
-
executor
-
-
Constructor Details
-
BaseMethodProxy
-
-
Method Details
-
reorderArgs
根据预处理参数重排序方法参数- Parameters:
methodArgs- 方法被调用时传入的参数- Returns:
- 重排序后的参数
-
rewriteSQL
根据方法调用时的参数来重写SQL- Parameters:
methodArgs- 方法被调用时传入的参数- Returns:
- 被重写的SQL
-