[][src]Struct rusqlite::vtab::IndexInfo

pub struct 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]

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]

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]

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.