pub struct ExecuteQueryRequest {
pub instance_name: String,
pub app_profile_id: String,
pub query: String,
pub resume_token: Vec<u8>,
pub params: HashMap<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: Vec<u8>
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: HashMap<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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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