Renaming
This commit is contained in:
parent
3076bcd83e
commit
85ef52dfb4
2 changed files with 13 additions and 9 deletions
|
|
@ -22,6 +22,8 @@ pub type FilePosition = u64;
|
|||
pub struct Store<T> {
|
||||
table_folder: String,
|
||||
file: File,
|
||||
// primary_index: Vec<Index<T, FilePosition>>>,
|
||||
// indexes: Vec<Option<Index<T, HashSet<FilePosition>>>>,
|
||||
header: StoreHeader,
|
||||
data_type: PhantomData<T>,
|
||||
|
||||
|
|
@ -189,6 +191,8 @@ impl <T>Store<T> {
|
|||
};
|
||||
let encoded_header: Vec<u8> = header.encode()?;
|
||||
|
||||
// Index::new<T, FilePosition>(format!("rows", primary_column.to_string()))
|
||||
|
||||
let mut store = Self {
|
||||
table_folder: table_folder.to_string(),
|
||||
file,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue