pub struct BatchGetRowRequest {
pub tables: Vec<TableInBatchGetRowRequest>,
}
Expand description
批量读取一个表或多个表中的若干行数据。 BatchGetRow 操作可视为多个 GetRow 操作的集合,各个操作独立执行,独立返回结果,独立计算服务能力单元。 与执行大量的 GetRow 操作相比,使用BatchGetRow操作可以有效减少请求的响应时间,提高数据的读取速率。
官方文档:https://help.aliyun.com/zh/tablestore/developer-reference/batchgetrow
Fields§
§tables: Vec<TableInBatchGetRowRequest>
Implementations§
Source§impl BatchGetRowRequest
impl BatchGetRowRequest
pub fn new() -> Self
Sourcepub fn table(self, item: TableInBatchGetRowRequest) -> Self
pub fn table(self, item: TableInBatchGetRowRequest) -> Self
添加一个表的查询
Sourcepub fn tables(
self,
items: impl IntoIterator<Item = TableInBatchGetRowRequest>,
) -> Self
pub fn tables( self, items: impl IntoIterator<Item = TableInBatchGetRowRequest>, ) -> Self
设置多个表的查询
Trait Implementations§
Source§impl Clone for BatchGetRowRequest
impl Clone for BatchGetRowRequest
Source§fn clone(&self) -> BatchGetRowRequest
fn clone(&self) -> BatchGetRowRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BatchGetRowRequest
impl Debug for BatchGetRowRequest
Source§impl Default for BatchGetRowRequest
impl Default for BatchGetRowRequest
Source§fn default() -> BatchGetRowRequest
fn default() -> BatchGetRowRequest
Returns the “default value” for a type. Read more
Source§impl From<BatchGetRowRequest> for BatchGetRowRequest
impl From<BatchGetRowRequest> for BatchGetRowRequest
Source§fn from(request: BatchGetRowRequest) -> Self
fn from(request: BatchGetRowRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BatchGetRowRequest
impl RefUnwindSafe for BatchGetRowRequest
impl Send for BatchGetRowRequest
impl Sync for BatchGetRowRequest
impl Unpin for BatchGetRowRequest
impl UnwindSafe for BatchGetRowRequest
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
Mutably borrows from an owned value. Read more