Class Statement.Builder (6.89.0)

publicstaticfinalclassStatement.Builder

Builder for Statement.

Inheritance

java.lang.Object > Statement.Builder

Methods

append(String sqlFragment)

publicStatement.Builderappend(StringsqlFragment)

Appends sqlFragment to the statement.

Parameter
NameDescription
sqlFragmentString
Returns
TypeDescription
Statement.Builder

bind(String parameter)

publicValueBinder<Statement.Builder>bind(Stringparameter)

Returns a binder to bind the value of the query parameter parameter.

Parameter
NameDescription
parameterString
Returns
TypeDescription
ValueBinder<Builder>

build()

publicStatementbuild()

Builds the Statement.

Returns
TypeDescription
Statement

replace(String sql)

publicStatement.Builderreplace(Stringsql)

Replaces the current SQL of this builder with the given string.

Parameter
NameDescription
sqlString
Returns
TypeDescription
Statement.Builder

withQueryOptions(ExecuteSqlRequest.QueryOptions queryOptions)

publicStatement.BuilderwithQueryOptions(ExecuteSqlRequest.QueryOptionsqueryOptions)

Sets the QueryOptions to use when executing this Statement.

Parameter
NameDescription
queryOptionsExecuteSqlRequest.QueryOptions
Returns
TypeDescription
Statement.Builder