pub struct ReadRowsRequest {
pub table_name: String,
pub filter: Option<RowFilter>,
pub allow_row_interleaving: bool,
pub num_rows_limit: i64,
pub target: Option<Target>,
}
Expand description
Request message for BigtableServer.ReadRows.
Fields§
§table_name: String
The unique name of the table from which to read.
filter: Option<RowFilter>
The filter to apply to the contents of the specified row(s). If unset, reads the entire table.
allow_row_interleaving: bool
By default, rows are read sequentially, producing results which are guaranteed to arrive in increasing row order. Setting “allow_row_interleaving” to true allows multiple rows to be interleaved in the response stream, which increases throughput but breaks this guarantee, and may force the client to use more memory to buffer partially-received rows. Cannot be set to true when specifying “num_rows_limit”.
num_rows_limit: i64
The read will terminate after committing to N rows’ worth of results. The default (zero) is to return all results. Note that “allow_row_interleaving” cannot be set to true when this is set.
target: Option<Target>
If neither row_key nor row_range is set, reads from all rows.
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§fn default() -> ReadRowsRequest
fn default() -> ReadRowsRequest
Source§impl Message for ReadRowsRequest
impl Message for ReadRowsRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
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> 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