public class BoundStatement extends Object
BigtableDataClient.executeQuery(BoundStatement).
It is an error to bind a statement with unset parameters.
BoundStatements are constructed using a BoundStatement.Builder and calling setTypeParam(String
paramName, Type value) for the appropriate type. For example:
BoundStatementt boundStatement = preparedStatement.bind()
.setBytesParam("qualifier", ByteString.copyFromUtf8("test"))
.setBytesParam("key", ByteString.copyFromUtf8("testKey"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
BoundStatement.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
assertUsingSameStub(com.google.cloud.bigtable.data.v2.stub.EnhancedBigtableStub stub)
Asserts that the given stub matches the stub used for plan refresh.
|
com.google.cloud.bigtable.data.v2.internal.PreparedStatementImpl.PreparedQueryData |
getLatestPrepareResponse()
Gets the most recent version of the PrepareResponse associated with this query.
|
com.google.cloud.bigtable.data.v2.internal.PreparedStatementImpl.PreparedQueryData |
markExpiredAndStartRefresh(com.google.cloud.bigtable.data.v2.internal.PreparedStatementImpl.PreparedQueryVersion expiredPreparedQueryVersion) |
ExecuteQueryRequest |
toProto(com.google.protobuf.ByteString preparedQuery,
com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext,
com.google.protobuf.ByteString resumeToken)
Creates the request protobuf.
|
@InternalApi(value="For internal use only") public com.google.cloud.bigtable.data.v2.internal.PreparedStatementImpl.PreparedQueryData getLatestPrepareResponse()
This is considered an internal implementation detail and should not be used by applications.
@InternalApi(value="For internal use only") public ExecuteQueryRequest toProto(com.google.protobuf.ByteString preparedQuery, com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext, @Nullable com.google.protobuf.ByteString resumeToken)
@InternalApi(value="For internal use only") public com.google.cloud.bigtable.data.v2.internal.PreparedStatementImpl.PreparedQueryData markExpiredAndStartRefresh(com.google.cloud.bigtable.data.v2.internal.PreparedStatementImpl.PreparedQueryVersion expiredPreparedQueryVersion)
@InternalApi public void assertUsingSameStub(com.google.cloud.bigtable.data.v2.stub.EnhancedBigtableStub stub)
This is considered an internal implementation detail and not meant to be used by applications
Copyright © 2026 Google LLC. All rights reserved.