Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::ExecuteQueryRequest.
Request message for Bigtable.ExecuteQuery
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#app_profile_id
def app_profile_id() -> ::String-
(::String) — Optional. This value specifies routing for replication. If not specified,
the
defaultapplication profile will be used.
#app_profile_id=
def app_profile_id=(value) -> ::String-
value (::String) — Optional. This value specifies routing for replication. If not specified,
the
defaultapplication profile will be used.
-
(::String) — Optional. This value specifies routing for replication. If not specified,
the
defaultapplication profile will be used.
#instance_name
def instance_name() -> ::String-
(::String) — Required. The unique name of the instance against which the query should be
executed.
Values are of the form
projects/<project>/instances/<instance>
#instance_name=
def instance_name=(value) -> ::String-
value (::String) — Required. The unique name of the instance against which the query should be
executed.
Values are of the form
projects/<project>/instances/<instance>
-
(::String) — Required. The unique name of the instance against which the query should be
executed.
Values are of the form
projects/<project>/instances/<instance>
#params
def params() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::V2::Value}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::V2::Value}) — Required. params contains string type keys and Bigtable type values that
bind to placeholders in the query string. In query string, a parameter
placeholder consists of the
@character followed by the parameter name (for example,@firstName) in the query string.For example, if
params["firstName"] = bytes_value: "foo" type {bytes_type {}}then@firstNamewill be replaced with googlesql bytes value "foo" in the query string during query evaluation.If
Value.kindis not set, the value is treated as a NULL value of the given type. For example, ifparams["firstName"] = type {string_type {}}then@firstNamewill be replaced with googlesql null string.If
queryis set, any emptyValue.typein the map will be rejected withINVALID_ARGUMENT.If
prepared_queryis set, any emptyValue.typein the map will be inferred from theparam_typesin thePrepareQueryRequest. Any non-emptyValue.typemust match the correspondingparam_typesentry, or be rejected withINVALID_ARGUMENT.
#params=
def params=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::V2::Value}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::V2::Value}) — Required. params contains string type keys and Bigtable type values that
bind to placeholders in the query string. In query string, a parameter
placeholder consists of the
@character followed by the parameter name (for example,@firstName) in the query string.For example, if
params["firstName"] = bytes_value: "foo" type {bytes_type {}}then@firstNamewill be replaced with googlesql bytes value "foo" in the query string during query evaluation.If
Value.kindis not set, the value is treated as a NULL value of the given type. For example, ifparams["firstName"] = type {string_type {}}then@firstNamewill be replaced with googlesql null string.If
queryis set, any emptyValue.typein the map will be rejected withINVALID_ARGUMENT.If
prepared_queryis set, any emptyValue.typein the map will be inferred from theparam_typesin thePrepareQueryRequest. Any non-emptyValue.typemust match the correspondingparam_typesentry, or be rejected withINVALID_ARGUMENT.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::V2::Value}) — Required. params contains string type keys and Bigtable type values that
bind to placeholders in the query string. In query string, a parameter
placeholder consists of the
@character followed by the parameter name (for example,@firstName) in the query string.For example, if
params["firstName"] = bytes_value: "foo" type {bytes_type {}}then@firstNamewill be replaced with googlesql bytes value "foo" in the query string during query evaluation.If
Value.kindis not set, the value is treated as a NULL value of the given type. For example, ifparams["firstName"] = type {string_type {}}then@firstNamewill be replaced with googlesql null string.If
queryis set, any emptyValue.typein the map will be rejected withINVALID_ARGUMENT.If
prepared_queryis set, any emptyValue.typein the map will be inferred from theparam_typesin thePrepareQueryRequest. Any non-emptyValue.typemust match the correspondingparam_typesentry, or be rejected withINVALID_ARGUMENT.
#prepared_query
def prepared_query() -> ::String-
(::String) —
A prepared query that was returned from
PrepareQueryResponse.Exactly one of
queryandprepared_queryis required. Setting both or neither is anINVALID_ARGUMENT.Setting this field also places restrictions on several other fields:
data_formatmust be empty.validate_onlymust be false.paramsmust match theparam_typesset in thePrepareQueryRequest.
#prepared_query=
def prepared_query=(value) -> ::String-
value (::String) —
A prepared query that was returned from
PrepareQueryResponse.Exactly one of
queryandprepared_queryis required. Setting both or neither is anINVALID_ARGUMENT.Setting this field also places restrictions on several other fields:
data_formatmust be empty.validate_onlymust be false.paramsmust match theparam_typesset in thePrepareQueryRequest.
-
(::String) —
A prepared query that was returned from
PrepareQueryResponse.Exactly one of
queryandprepared_queryis required. Setting both or neither is anINVALID_ARGUMENT.Setting this field also places restrictions on several other fields:
data_formatmust be empty.validate_onlymust be false.paramsmust match theparam_typesset in thePrepareQueryRequest.
#proto_format
def proto_format() -> ::Google::Cloud::Bigtable::V2::ProtoFormat- (::Google::Cloud::Bigtable::V2::ProtoFormat) — Protocol buffer format as described by ProtoSchema and ProtoRows messages.
#proto_format=
def proto_format=(value) -> ::Google::Cloud::Bigtable::V2::ProtoFormat- value (::Google::Cloud::Bigtable::V2::ProtoFormat) — Protocol buffer format as described by ProtoSchema and ProtoRows messages.
- (::Google::Cloud::Bigtable::V2::ProtoFormat) — Protocol buffer format as described by ProtoSchema and ProtoRows messages.
#query
def query() -> ::String-
(::String) — Required. The query string.
Exactly one of
queryandprepared_queryis required. Setting both or neither is anINVALID_ARGUMENT.
#query=
def query=(value) -> ::String-
value (::String) — Required. The query string.
Exactly one of
queryandprepared_queryis required. Setting both or neither is anINVALID_ARGUMENT.
-
(::String) — Required. The query string.
Exactly one of
queryandprepared_queryis required. Setting both or neither is anINVALID_ARGUMENT.
#resume_token
def resume_token() -> ::String-
(::String) — Optional. If this request is resuming a previously interrupted query
execution,
resume_tokenshould be copied from the last PartialResultSet yielded before the interruption. Doing this enables the query execution to resume where the last one left off. The rest of the request parameters must exactly match the request that yielded this token. Otherwise the request will fail.
#resume_token=
def resume_token=(value) -> ::String-
value (::String) — Optional. If this request is resuming a previously interrupted query
execution,
resume_tokenshould be copied from the last PartialResultSet yielded before the interruption. Doing this enables the query execution to resume where the last one left off. The rest of the request parameters must exactly match the request that yielded this token. Otherwise the request will fail.
-
(::String) — Optional. If this request is resuming a previously interrupted query
execution,
resume_tokenshould be copied from the last PartialResultSet yielded before the interruption. Doing this enables the query execution to resume where the last one left off. The rest of the request parameters must exactly match the request that yielded this token. Otherwise the request will fail.