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
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
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