/// Installs indices required for the specified level of query
/// support.
Installs indices required for the specified level of query
support.
Installs indices required for the specified level of query support .
pub fn with_query_support(mut self, query_support: QuerySupport) -> Self {
        for aid in self.domain.forward_propose.keys() {
            // Count traces are only required for use in worst-case
            // optimal joins.
            if query_support == QuerySupport::AdaptiveWCO {
                self.domain.forward_count.insert(
                    aid.clone(),
                    self.raw[aid]
                        .map(|(k, _v)| (k, ()))
                        .arrange_named(&format!("->Count({})", aid))
                        .trace,
                );
            }
            if query_support >= QuerySupport::Delta {
                self.domain.forward_validate.insert(
                    aid.clone(),
                    self.raw[aid]
                        .map(|t| (t, ()))
                        .arrange_named(&format!("->Validate({})", aid))
                        .trace,
                );
            }
        }
        self
    }
pub fn with_query_support ( mut self , query_support : QuerySupport ) -> Self { for aid in self . domain . forward_propose . keys ( ) { // Count traces are only required for use in worst-case // optimal joins. if query_support == QuerySupport :: AdaptiveWCO { self . domain . forward_count . insert ( aid . clone ( ) , self . raw [ aid ] . map ( | ( k , _v ) | ( k , ( ) ) ) . arrange_named ( & format ! ( " " aid ) ) . trace , ) ; } if query_support >= QuerySupport :: Delta { self . domain . forward_validate . insert ( aid . clone ( ) , self . raw [ aid ] . map ( | t | ( t , ( ) ) ) . arrange_named ( & format ! ( " " aid ) ) . trace , ) ; } } self }
Installs indices required for the specified level of query
support.
Installs indices required for the specified level of query support .
mut self
query_support
QuerySupport