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
default
application 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
default
application profile will be used.
-
(::String) — Optional. This value specifies routing for replication. If not specified,
the
default
application 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@firstName
will be replaced with googlesql bytes value "foo" in the query string during query evaluation.In case of Value.kind is not set, it will be set to corresponding null value in googlesql.
params["firstName"] = type {string_type {}}
then@firstName
will be replaced with googlesql null string.Value.type should always be set and no inference of type will be made from Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT error.
#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@firstName
will be replaced with googlesql bytes value "foo" in the query string during query evaluation.In case of Value.kind is not set, it will be set to corresponding null value in googlesql.
params["firstName"] = type {string_type {}}
then@firstName
will be replaced with googlesql null string.Value.type should always be set and no inference of type will be made from Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT error.
-
(::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@firstName
will be replaced with googlesql bytes value "foo" in the query string during query evaluation.In case of Value.kind is not set, it will be set to corresponding null value in googlesql.
params["firstName"] = type {string_type {}}
then@firstName
will be replaced with googlesql null string.Value.type should always be set and no inference of type will be made from Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT error.
#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.
#query=
def query=(value) -> ::String
- value (::String) — Required. The query string.
- (::String) — Required. The query string.
#resume_token
def resume_token() -> ::String
-
(::String) — Optional. If this request is resuming a previously interrupted query
execution,
resume_token
should 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_token
should 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_token
should 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.