Struct kite_rocksdb::RocksDBIndexStore
[−]
[src]
pub struct RocksDBIndexStore { /* fields omitted */ }
Methods
impl RocksDBIndexStore
[src]
fn merge_segments(
&self,
source_segments: &Vec<u32>
) -> Result<u32, SegmentMergeError>
&self,
source_segments: &Vec<u32>
) -> Result<u32, SegmentMergeError>
fn purge_segments(&self, segments: &Vec<u32>) -> Result<(), Error>
impl RocksDBIndexStore
[src]
impl RocksDBIndexStore
[src]
fn create<P: AsRef<Path>>(path: P) -> Result<RocksDBIndexStore, String>
fn open<P: AsRef<Path>>(path: P) -> Result<RocksDBIndexStore, String>
fn path(&self) -> &Path
fn add_field(
&mut self,
name: String,
field_type: FieldType,
field_flags: FieldFlags
) -> Result<FieldRef, AddFieldError>
&mut self,
name: String,
field_type: FieldType,
field_flags: FieldFlags
) -> Result<FieldRef, AddFieldError>
fn remove_field(&mut self, field_ref: &FieldRef) -> bool
fn insert_or_update_document(
&self,
doc: &Document
) -> Result<(), DocumentInsertError>
&self,
doc: &Document
) -> Result<(), DocumentInsertError>