Introduce segments module
This commit is contained in:
parent
1618bffb85
commit
b13d2f04cd
8 changed files with 12 additions and 13 deletions
|
|
@ -12,10 +12,10 @@ use bincode::{Decode, Encode};
|
|||
use crate::binary_coding::{encode, decode};
|
||||
|
||||
use crate::error::{Error, DecodeErrorKind};
|
||||
use crate::entry::{Entry, EntryDetailed};
|
||||
use crate::entry_header::{EntryHeaderWithDataSize, EntryHeader};
|
||||
use crate::store_header::StoreHeader;
|
||||
use crate::storage_engine::{Store, FilePosition, Column, Result, StoreIndexes, ROWS_FILE_NAME, GARBAGE_COLLECTION_INTERMEDIATE_ROWS_FILE_NAME};
|
||||
use crate::segments::entry::{Entry, EntryDetailed};
|
||||
use crate::segments::entry_header::{EntryHeaderWithDataSize, EntryHeader};
|
||||
use crate::segments::store_header::StoreHeader;
|
||||
use crate::storage_engine::{Store, FilePosition, Column, Result, ROWS_FILE_NAME, GARBAGE_COLLECTION_INTERMEDIATE_ROWS_FILE_NAME};
|
||||
use crate::index::Index;
|
||||
|
||||
const GARBAGE_COLLECTION_TRIGGER: usize = 100;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue