Module io.helidon.dbclient.common
Package io.helidon.dbclient.common
Class DbStatementContext.BuilderBase<T extends DbStatementContext.BuilderBase<T>>
- java.lang.Object
-
- io.helidon.dbclient.common.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 newDbStatementContext
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BuilderBase()
A no-op constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
clientContext(DbClientContext clientContext)
Configure client context.T
statementName(String statementName)
Configure name of statement.T
statementText(String statementText)
Configure text of statement.T
statementType(DbStatementType statementType)
Configure statement type.
-
-
-
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
-
-