Class PlainExecutionTemplate

java.lang.Object
migratedb.v1.core.internal.jdbc.PlainExecutionTemplate
All Implemented Interfaces:
ExecutionTemplate

public class PlainExecutionTemplate extends Object implements ExecutionTemplate
  • Constructor Details

    • PlainExecutionTemplate

      public PlainExecutionTemplate()
    • PlainExecutionTemplate

      public PlainExecutionTemplate(boolean skipErrorLog)
  • Method Details

    • execute

      public <T> T execute(Callable<T> callback)
      Description copied from interface: ExecutionTemplate
      Executes this callback within the context of the connection
      Specified by:
      execute in interface ExecutionTemplate
      Parameters:
      callback - The callback to execute.
      Returns:
      The result of the callback.