Class: Google::Cloud::Bigtable::V2::ExecuteQueryRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::V2::ExecuteQueryRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/v2/bigtable.rb
Overview
Request message for Bigtable.ExecuteQuery
Defined Under Namespace
Classes: ParamsEntry
Instance Attribute Summary collapse
-
#app_profile_id ⇒ ::String
Optional.
-
#instance_name ⇒ ::String
Required.
-
#params ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::V2::Value}
Required.
-
#prepared_query ⇒ ::String
A prepared query that was returned from
PrepareQueryResponse. -
#proto_format ⇒ ::Google::Cloud::Bigtable::V2::ProtoFormat
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#query ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#resume_token ⇒ ::String
Optional.
Instance Attribute Details
#app_profile_id ⇒ ::String
Returns Optional. This value specifies routing for replication. If not specified,
the default application profile will be used.
840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 840 class ExecuteQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Bigtable::V2::Value] class ParamsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#instance_name ⇒ ::String
Returns Required. The unique name of the instance against which the query should be
executed.
Values are of the form projects/<project>/instances/<instance>.
840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 840 class ExecuteQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Bigtable::V2::Value] class ParamsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#params ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::V2::Value}
Returns 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.
If Value.kind is not set, the value is treated as a NULL value of the
given type. For example, if
params["firstName"] = type {string_type {}}
then @firstName will be replaced with googlesql null string.
If query is set, any empty Value.type in the map will be rejected with
INVALID_ARGUMENT.
If prepared_query is set, any empty Value.type in the map will be
inferred from the param_types in the PrepareQueryRequest. Any non-empty
Value.type must match the corresponding param_types entry, or be
rejected with INVALID_ARGUMENT.
840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 840 class ExecuteQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Bigtable::V2::Value] class ParamsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#prepared_query ⇒ ::String
Returns A prepared query that was returned from PrepareQueryResponse.
Exactly one of query and prepared_query is required. Setting both
or neither is an INVALID_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.
840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 840 class ExecuteQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Bigtable::V2::Value] class ParamsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#proto_format ⇒ ::Google::Cloud::Bigtable::V2::ProtoFormat
This field is deprecated and may be removed in the next major version update.
Returns Protocol buffer format as described by ProtoSchema and ProtoRows messages.
840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 840 class ExecuteQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Bigtable::V2::Value] class ParamsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query ⇒ ::String
This field is deprecated and may be removed in the next major version update.
Returns Required. The query string.
Exactly one of query and prepared_query is required. Setting both
or neither is an INVALID_ARGUMENT.
840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 840 class ExecuteQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Bigtable::V2::Value] class ParamsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#resume_token ⇒ ::String
Returns 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.
840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 840 class ExecuteQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Bigtable::V2::Value] class ParamsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |