Class Statement.Builder (6.25.0)

public static final class Statement.Builder

Builder for Statement.

Inheritance

java.lang.Object > Statement.Builder

Methods

append(String sqlFragment)

public Statement.Builder append(String sqlFragment)

Appends sqlFragment to the statement.

Parameter
NameDescription
sqlFragmentString
Returns
TypeDescription
Statement.Builder

bind(String parameter)

public ValueBinder<Statement.Builder> bind(String parameter)

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

Parameter
NameDescription
parameterString
Returns
TypeDescription
ValueBinder<Builder>

build()

public Statement build()

Builds the Statement.

Returns
TypeDescription
Statement

withQueryOptions(ExecuteSqlRequest.QueryOptions queryOptions)

public Statement.Builder withQueryOptions(ExecuteSqlRequest.QueryOptions queryOptions)

Sets the QueryOptions to use when executing this Statement.

Parameter
NameDescription
queryOptionsExecuteSqlRequest.QueryOptions
Returns
TypeDescription
Statement.Builder