Class DbStatementContext.BuilderBase<T extends DbStatementContext.BuilderBase<T>>

  • Type Parameters:
    T - type of the builder extending this builder
    Direct Known Subclasses:
    DbStatementContext.Builder
    Enclosing class:
    DbStatementContext

    public abstract static class DbStatementContext.BuilderBase<T extends DbStatementContext.BuilderBase<T>>
    extends Object
    A base builder that must be extended to implement a new DbStatementContext.
    • Constructor Detail

      • BuilderBase

        protected BuilderBase()
        A no-op constructor.
    • Method Detail

      • clientContext

        public T clientContext​(DbClientContext clientContext)
        Configure client context.
        Parameters:
        clientContext - client context
        Returns:
        updated builder instance
      • statementType

        public T statementType​(DbStatementType statementType)
        Configure statement type.
        Parameters:
        statementType - the type of this statement
        Returns:
        updated builder instance
      • statementName

        public T statementName​(String statementName)
        Configure name of statement.
        Parameters:
        statementName - name of this statement
        Returns:
        updated builder instance
      • statementText

        public T statementText​(String statementText)
        Configure text of statement.
        Parameters:
        statementText - content of this statement
        Returns:
        updated builder instance