pub struct CountTableRowsRequest {
pub identity: Option<Box<Identity>>,
pub context: Option<HashMap<String, String>>,
pub id: Option<Vec<String>>,
pub version: Option<i64>,
pub branch: Option<String>,
pub predicate: Option<String>,
}Fields§
§identity: Option<Box<Identity>>§context: Option<HashMap<String, String>>Arbitrary context for a request as key-value pairs. How to use the context is custom to the specific implementation. REST NAMESPACE ONLY Context entries are passed via HTTP headers using the naming convention x-lance-ctx-<key>: <value>. For example, a context entry {\"trace_id\": \"abc123\"} would be sent as the header x-lance-ctx-trace_id: abc123.
id: Option<Vec<String>>§version: Option<i64>Version of the table to describe. If not specified, server should resolve it to the latest version.
branch: Option<String>Branch to target. When not specified, the main branch is used.
predicate: Option<String>Optional SQL predicate to filter rows for counting. Field references must use Lance field path syntax: nested fields use dot-separated segments, literal dots require backtick-quoted segments, and backticks inside quoted segments are doubled.
Implementations§
Source§impl CountTableRowsRequest
impl CountTableRowsRequest
pub fn new() -> CountTableRowsRequest
Trait Implementations§
Source§impl Clone for CountTableRowsRequest
impl Clone for CountTableRowsRequest
Source§fn clone(&self) -> CountTableRowsRequest
fn clone(&self) -> CountTableRowsRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CountTableRowsRequest
impl Debug for CountTableRowsRequest
Source§impl Default for CountTableRowsRequest
impl Default for CountTableRowsRequest
Source§fn default() -> CountTableRowsRequest
fn default() -> CountTableRowsRequest
Source§impl<'de> Deserialize<'de> for CountTableRowsRequest
impl<'de> Deserialize<'de> for CountTableRowsRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CountTableRowsRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CountTableRowsRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CountTableRowsRequest
impl PartialEq for CountTableRowsRequest
Source§fn eq(&self, other: &CountTableRowsRequest) -> bool
fn eq(&self, other: &CountTableRowsRequest) -> bool
self and other values to be equal, and is used by ==.