pub struct ExplorerQuery {Show 21 fields
pub after_realtime_usec: Option<u64>,
pub before_realtime_usec: Option<u64>,
pub anchor: ExplorerAnchor,
pub direction: Direction,
pub limit: usize,
pub filters: Vec<ExplorerFilter>,
pub facets: Vec<Vec<u8>>,
pub histogram: Option<Vec<u8>>,
pub histogram_after_realtime_usec: Option<u64>,
pub histogram_before_realtime_usec: Option<u64>,
pub histogram_target_buckets: usize,
pub fts_terms: Vec<ExplorerFtsPattern>,
pub fts_patterns: Vec<Vec<u8>>,
pub fts_negative_patterns: Vec<Vec<u8>>,
pub field_mode: ExplorerFieldMode,
pub exclude_facet_field_filters: bool,
pub use_source_realtime: bool,
pub realtime_slack_usec: u64,
pub stop_when_rows_full: bool,
pub stop_when_rows_full_check_every: u64,
pub sampling: Option<ExplorerSampling>,
/* private fields */
}Fields§
§after_realtime_usec: Option<u64>§before_realtime_usec: Option<u64>§anchor: ExplorerAnchor§direction: Direction§limit: usize§filters: Vec<ExplorerFilter>§facets: Vec<Vec<u8>>§histogram: Option<Vec<u8>>§histogram_after_realtime_usec: Option<u64>§histogram_before_realtime_usec: Option<u64>§histogram_target_buckets: usize§fts_terms: Vec<ExplorerFtsPattern>§fts_patterns: Vec<Vec<u8>>§fts_negative_patterns: Vec<Vec<u8>>§field_mode: ExplorerFieldMode§exclude_facet_field_filters: bool§use_source_realtime: bool§realtime_slack_usec: u64§stop_when_rows_full: bool§stop_when_rows_full_check_every: u64§sampling: Option<ExplorerSampling>Implementations§
Source§impl ExplorerQuery
impl ExplorerQuery
pub fn with_filter( self, field: impl Into<Vec<u8>>, values: impl IntoIterator<Item = impl Into<Vec<u8>>>, ) -> Self
pub fn with_facet(self, field: impl Into<Vec<u8>>) -> Self
pub fn with_histogram(self, field: impl Into<Vec<u8>>) -> Self
pub fn with_fts_pattern(self, pattern: impl Into<Vec<u8>>) -> Self
pub fn with_fts_negative_pattern(self, pattern: impl Into<Vec<u8>>) -> Self
Trait Implementations§
Source§impl Clone for ExplorerQuery
impl Clone for ExplorerQuery
Source§fn clone(&self) -> ExplorerQuery
fn clone(&self) -> ExplorerQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExplorerQuery
impl Debug for ExplorerQuery
Auto Trait Implementations§
impl Freeze for ExplorerQuery
impl RefUnwindSafe for ExplorerQuery
impl Send for ExplorerQuery
impl Sync for ExplorerQuery
impl Unpin for ExplorerQuery
impl UnsafeUnpin for ExplorerQuery
impl UnwindSafe for ExplorerQuery
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