Package com.google.cloud.spanner
Class Statement.Builder
java.lang.Object
com.google.cloud.spanner.Statement.Builder
- Enclosing class:
- Statement
Builder for
Statement.-
Method Summary
Modifier and TypeMethodDescriptionAppendssqlFragmentto the statement.Returns a binder to bind the value of the query parameterparameter.build()Builds theStatement.Replaces the current SQL of this builder with the given string.withQueryOptions(ExecuteSqlRequest.QueryOptions queryOptions) Sets theExecuteSqlRequest.QueryOptionsto use when executing thisStatement.
-
Method Details
-
replace
Replaces the current SQL of this builder with the given string. -
append
AppendssqlFragmentto the statement. -
withQueryOptions
Sets theExecuteSqlRequest.QueryOptionsto use when executing thisStatement. -
bind
Returns a binder to bind the value of the query parameterparameter. -
build
Builds theStatement.
-