Package org.jdbi.v3.core.statement
Class ParsedSql.Builder
java.lang.Object
org.jdbi.v3.core.statement.ParsedSql.Builder
- Enclosing class:
- ParsedSql
Fluent builder for ParsedSql instances.
-
Method Summary
Modifier and TypeMethodDescriptionAppends the given SQL fragment to the SQL string.appendNamedParameter(String name) Records a named parameter with the given name, and appends a?to the SQL string.Records a positional parameters, and appends a?to the SQL string.build()Returns the finalizedParsedSqlobject.
-
Method Details
-
append
Appends the given SQL fragment to the SQL string.- Parameters:
sqlFragment- the SQL fragment- Returns:
- this
-
appendPositionalParameter
Records a positional parameters, and appends a?to the SQL string.- Returns:
- this
-
appendNamedParameter
Records a named parameter with the given name, and appends a?to the SQL string.- Parameters:
name- the parameter name.- Returns:
- this
-
build
Returns the finalizedParsedSqlobject.- Returns:
- the finalized
ParsedSqlobject.
-