Struct google_api_proto::google::bigtable::v2::ReadRowsRequest
source · pub struct ReadRowsRequest {
pub table_name: String,
pub authorized_view_name: String,
pub app_profile_id: String,
pub rows: Option<RowSet>,
pub filter: Option<RowFilter>,
pub rows_limit: i64,
pub request_stats_view: i32,
pub reversed: bool,
}
Expand description
Request message for Bigtable.ReadRows.
Fields§
§table_name: String
Optional. The unique name of the table from which to read.
Values are of the form
projects/<project>/instances/<instance>/tables/<table>
.
Optional. The unique name of the AuthorizedView from which to read.
Values are of the form
projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>
.
app_profile_id: String
This value specifies routing for replication. If not specified, the “default” application profile will be used.
rows: Option<RowSet>
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
filter: Option<RowFilter>
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
rows_limit: i64
The read will stop after committing to N rows’ worth of results. The default (zero) is to return all results.
request_stats_view: i32
The view into RequestStats, as described above.
reversed: bool
Experimental API - Please note that this API is currently experimental and can change in the future.
Return rows in lexiographical descending order of the row keys. The row contents will not be affected by this flag.
Example result set:
[
{key: "k2", "f:col1": "v1", "f:col2": "v1"},
{key: "k1", "f:col1": "v2", "f:col2": "v2"}
]
Implementations§
source§impl ReadRowsRequest
impl ReadRowsRequest
sourcepub fn request_stats_view(&self) -> RequestStatsView
pub fn request_stats_view(&self) -> RequestStatsView
Returns the enum value of request_stats_view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_request_stats_view(&mut self, value: RequestStatsView)
pub fn set_request_stats_view(&mut self, value: RequestStatsView)
Sets request_stats_view
to the provided enum value.
Trait Implementations§
source§impl Clone for ReadRowsRequest
impl Clone for ReadRowsRequest
source§fn clone(&self) -> ReadRowsRequest
fn clone(&self) -> ReadRowsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReadRowsRequest
impl Debug for ReadRowsRequest
source§impl Default for ReadRowsRequest
impl Default for ReadRowsRequest
source§impl Message for ReadRowsRequest
impl Message for ReadRowsRequest
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 ReadRowsRequest
impl PartialEq for ReadRowsRequest
source§fn eq(&self, other: &ReadRowsRequest) -> bool
fn eq(&self, other: &ReadRowsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReadRowsRequest
Auto Trait Implementations§
impl !Freeze for ReadRowsRequest
impl RefUnwindSafe for ReadRowsRequest
impl Send for ReadRowsRequest
impl Sync for ReadRowsRequest
impl Unpin for ReadRowsRequest
impl UnwindSafe for ReadRowsRequest
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