接口 Executor
- 所有已知实现类:
DefaultExecutor
public interface Executor
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明<R> Rexecute(@NotNull Executor.Args<R> args) executeBatch(@NotNull Connection con, @NotNull String sql, @Nullable org.babyfish.jimmer.meta.ImmutableProp generatedIdProp, @NotNull ExecutionPurpose purpose, @NotNull JSqlClientImplementor sqlClient) static Executorlog()static Executorstatic Executorstatic Executorlog(org.slf4j.Logger logger) default voidopenCursor(long cursorId, String sql, List<Object> variables, List<Integer> variablePositions, ExecutionPurpose purpose, @Nullable ExecutorContext ctx, JSqlClientImplementor sqlClient) This method will never be invoked unless the current operation is `Query.forEach`
-
方法详细资料
-
execute
-
executeBatch
Executor.BatchContext executeBatch(@NotNull @NotNull Connection con, @NotNull @NotNull String sql, @Nullable @Nullable org.babyfish.jimmer.meta.ImmutableProp generatedIdProp, @NotNull @NotNull ExecutionPurpose purpose, @NotNull @NotNull JSqlClientImplementor sqlClient) -
openCursor
default void openCursor(long cursorId, String sql, List<Object> variables, List<Integer> variablePositions, ExecutionPurpose purpose, @Nullable @Nullable ExecutorContext ctx, JSqlClientImplementor sqlClient) This method will never be invoked unless the current operation is `Query.forEach`For `Query.forEach`, SQL execution result log have to be printed after children fetching, this method can give SQL logger a chance to print SQL before children fetching
-
log
-
log
-
log
-
log
-