Class DbExecuteContext.BuilderBase<B extends DbExecuteContext.BuilderBase<B,T>, T extends DbExecuteContext>

java.lang.Object
io.helidon.dbclient.DbExecuteContext.BuilderBase<B,T>
Type Parameters:
B - type of the builder
T - type of the built instance
All Implemented Interfaces:
Builder<B,T>, Supplier<T>
Direct Known Subclasses:
DbExecuteContext.Builder
Enclosing class:
DbExecuteContext

public abstract static class DbExecuteContext.BuilderBase<B extends DbExecuteContext.BuilderBase<B,T>, T extends DbExecuteContext> extends Object implements Builder<B,T>
Base builder for DbExecuteContext.
  • Constructor Details

    • BuilderBase

      @Deprecated(forRemoval=true, since="27.0.0") public BuilderBase()
      Deprecated, for removal: This API element is subject to removal in a future version.
      direct public use is not supported; use DbExecuteContext.builder() for the built-in execution context builder
      Creates an instance of base builder for DbExecuteContext. Child classes may call this constructor; only direct public use is not supported.
  • Method Details

    • statement

      public B statement(String statement)
      Set the execution statement.
      Parameters:
      statement - statement
      Returns:
      updated builder instance
    • statementName

      public B statementName(String statementName)
      Set the execution statement name.
      Parameters:
      statementName - statement name
      Returns:
      updated builder instance
    • clientContext

      public B clientContext(DbClientContext clientContext)
      Set the client context.
      Parameters:
      clientContext - client context
      Returns:
      updated builder instance