Class Statement.Builder

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
Name Description
sqlFragment String
Returns
Type Description
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
Name Description
parameter String
Returns
Type Description
ValueBinder<Builder>

build()

public Statement build()

Builds the Statement.

Returns
Type Description
Statement

withQueryOptions(ExecuteSqlRequest.QueryOptions queryOptions)

public Statement.Builder withQueryOptions(ExecuteSqlRequest.QueryOptions queryOptions)

Sets the QueryOptions to use when executing this Statement.

Parameter
Name Description
queryOptions ExecuteSqlRequest.QueryOptions
Returns
Type Description
Statement.Builder