Trait IndexInformationProvider

Source
pub trait IndexInformationProvider {
    // Required method
    fn get_index(
        &self,
        col: &str,
    ) -> Option<(&DataType, &dyn ScalarQueryParser)>;
}
Expand description

A trait to be used in apply_scalar_indices to inform the function which columns are indexeds

Required Methods§

Source

fn get_index(&self, col: &str) -> Option<(&DataType, &dyn ScalarQueryParser)>

Check if an index exists for col and, if so, return the data type of col

Implementors§