Struct cudb::index::IndexSchema [−][src]
pub struct IndexSchema { /* fields omitted */ }
Expand description
Store the fields used for an Index.
Implementations
Convert the Index Schema into a HashMap.
Compare the current Index Schema with another Index Schema. Check if any shared fields have conflicting Value variants (e.g. different types).
Create an Index from the provided Document.
Count the number of matched index fields in the query fields.
pub fn generate_btree_ranges(
&self,
constraints: &ConstraintDocument
) -> Vec<(Bound<Index>, Bound<Index>)>
pub fn generate_btree_ranges(
&self,
constraints: &ConstraintDocument
) -> Vec<(Bound<Index>, Bound<Index>)>
Calculate the non-overlapping b-tree query ranges for a ConstraintDocument.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IndexSchema
impl Send for IndexSchema
impl Sync for IndexSchema
impl Unpin for IndexSchema
impl UnwindSafe for IndexSchema
Blanket Implementations
Mutably borrows from an owned value. Read more