接口 Executor

所有已知实现类:
DefaultExecutor

public interface Executor
  • 方法详细资料

    • execute

      <R> R execute(@NotNull @NotNull Executor.Args<R> args)
    • 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

      static Executor log()
    • log

      static Executor log(Executor executor)