pub enum IndexKind {
Range,
Point,
Text,
Fulltext,
Lookup,
Vector,
}Expand description
The DDL index kind (CIP-11 RANGE/POINT/TEXT, CIP-38 FULLTEXT, the pre-existing VECTOR, and the label/type-token LOOKUP index).
Variants§
Implementations§
Source§impl IndexKind
impl IndexKind
Sourcepub fn storage_tag(&self) -> &'static str
pub fn storage_tag(&self) -> &'static str
The canonical lowercase tag persisted in
relate_storage::Index::index_type – also the tag the engine
switches on to decide which (if any) in-memory acceleration
structure to build for a given index (Engine::rebuild_indexes).
Unchanged for Point/Vector from before CIP-11 so existing
vector/point index acceleration keeps working untouched; Range
replaces the old ad hoc "secondary" tag (still accepted as a
legacy alias when reading it back).
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
The upper-case display name Neo4j’s SHOW INDEXES type column
uses.
Trait Implementations§
impl Copy for IndexKind
impl Eq for IndexKind
impl StructuralPartialEq for IndexKind
Auto Trait Implementations§
impl Forget for IndexKind
impl Freeze for IndexKind
impl Move for IndexKind
impl RefUnwindSafe for IndexKind
impl Send for IndexKind
impl Sync for IndexKind
impl Unpin for IndexKind
impl UnsafeUnpin for IndexKind
impl UnwindSafe for IndexKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.