Struct google_api_proto::google::bigtable::v2::ExecuteQueryRequest
source · pub struct ExecuteQueryRequest {
pub instance_name: String,
pub app_profile_id: String,
pub query: String,
pub resume_token: Bytes,
pub params: BTreeMap<String, Value>,
pub data_format: Option<DataFormat>,
}
Expand description
Request message for Bigtable.ExecuteQuery
Fields§
§instance_name: String
Required. The unique name of the instance against which the query should be
executed.
Values are of the form projects/<project>/instances/<instance>
app_profile_id: String
Optional. This value specifies routing for replication. If not specified,
the default
application profile will be used.
query: String
Required. The query string.
resume_token: Bytes
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.
params: BTreeMap<String, 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.
data_format: Option<DataFormat>
Required. Requested data format for the response.
Trait Implementations§
source§impl Clone for ExecuteQueryRequest
impl Clone for ExecuteQueryRequest
source§fn clone(&self) -> ExecuteQueryRequest
fn clone(&self) -> ExecuteQueryRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteQueryRequest
impl Debug for ExecuteQueryRequest
source§impl Default for ExecuteQueryRequest
impl Default for ExecuteQueryRequest
source§impl Message for ExecuteQueryRequest
impl Message for ExecuteQueryRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ExecuteQueryRequest
impl PartialEq for ExecuteQueryRequest
source§fn eq(&self, other: &ExecuteQueryRequest) -> bool
fn eq(&self, other: &ExecuteQueryRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecuteQueryRequest
Auto Trait Implementations§
impl !Freeze for ExecuteQueryRequest
impl RefUnwindSafe for ExecuteQueryRequest
impl Send for ExecuteQueryRequest
impl Sync for ExecuteQueryRequest
impl Unpin for ExecuteQueryRequest
impl UnwindSafe for ExecuteQueryRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request