pub struct TileQueryBuilder { /* private fields */ }Expand description
Fluent builder for tile queries.
Implementations§
Source§impl TileQueryBuilder
impl TileQueryBuilder
pub fn new() -> Self
pub fn filter(self, field: &str, op: FilterOp, value: Option<Value>) -> Self
pub fn search(self, query: &str) -> Self
pub fn in_domain(self, domain: &str) -> Self
pub fn sort_by(self, field: &str, order: SortOrder) -> Self
pub fn page(self, num: usize, size: usize) -> Self
pub fn select(self, fields: &[&str]) -> Self
pub fn include_deleted(self) -> Self
pub fn explain(self) -> Self
pub fn cache(self, ttl: f64) -> Self
pub fn timeout(self, ms: f64) -> Self
pub fn facet(self, fields: &[&str]) -> Self
pub fn post_filter<F>(self, f: F) -> Self
pub fn reset(&mut self) -> &mut Self
pub fn build_plan(&self) -> QueryPlan
pub fn to_dict(&self) -> HashMap<String, Value>
pub fn filter_count(&self) -> usize
pub fn has_search(&self) -> bool
pub fn complexity(&self) -> &'static str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TileQueryBuilder
impl !RefUnwindSafe for TileQueryBuilder
impl Send for TileQueryBuilder
impl Sync for TileQueryBuilder
impl Unpin for TileQueryBuilder
impl UnsafeUnpin for TileQueryBuilder
impl !UnwindSafe for TileQueryBuilder
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