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 new
DbStatementContext
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclientContext
(DbClientContext clientContext) Configure client context.statementName
(String statementName) Configure name of statement.statementText
(String statementText) Configure text of statement.statementType
(DbStatementType statementType) Configure statement type.
-
Constructor Details
-
BuilderBase
protected BuilderBase()A no-op constructor.
-
-
Method Details
-
clientContext
Configure client context.- Parameters:
clientContext
- client context- Returns:
- updated builder instance
-
statementType
Configure statement type.- Parameters:
statementType
- the type of this statement- Returns:
- updated builder instance
-
statementName
Configure name of statement.- Parameters:
statementName
- name of this statement- Returns:
- updated builder instance
-
statementText
Configure text of statement.- Parameters:
statementText
- content of this statement- Returns:
- updated builder instance
-