[−][src]Struct rusqlite::vtab::IndexInfo
feature = "vtab"
Pass information into and receive the reply from the
VTab.best_index
method.
(See SQLite doc)
Implementations
impl IndexInfo
[src]
pub fn constraints(&self) -> IndexConstraintIter<'_>ⓘNotable traits for IndexConstraintIter<'a>
impl<'a> Iterator for IndexConstraintIter<'a> type Item = IndexConstraint<'a>;
[src]
Notable traits for IndexConstraintIter<'a>
impl<'a> Iterator for IndexConstraintIter<'a> type Item = IndexConstraint<'a>;
Record WHERE clause constraints.
pub fn order_bys(&self) -> OrderByIter<'_>ⓘNotable traits for OrderByIter<'a>
impl<'a> Iterator for OrderByIter<'a> type Item = OrderBy<'a>;
[src]
Notable traits for OrderByIter<'a>
impl<'a> Iterator for OrderByIter<'a> type Item = OrderBy<'a>;
Information about the ORDER BY clause.
pub fn num_of_order_by(&self) -> usize
[src]
Number of terms in the ORDER BY clause
pub fn constraint_usage(
&mut self,
constraint_idx: usize
) -> IndexConstraintUsage<'_>
[src]
&mut self,
constraint_idx: usize
) -> IndexConstraintUsage<'_>
Information about what parameters to pass to VTabCursor.filter
.
pub fn set_idx_num(&mut self, idx_num: c_int)
[src]
Number used to identify the index
pub fn set_order_by_consumed(&mut self, order_by_consumed: bool)
[src]
True if output is already ordered
pub fn set_estimated_cost(&mut self, estimated_ost: f64)
[src]
Estimated cost of using this index
pub fn set_estimated_rows(&mut self, estimated_rows: i64)
[src]
Estimated number of rows returned.
Auto Trait Implementations
impl RefUnwindSafe for IndexInfo
impl !Send for IndexInfo
impl !Sync for IndexInfo
impl Unpin for IndexInfo
impl UnwindSafe for IndexInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,