Can build indexes on new columns
This commit is contained in:
parent
8139112934
commit
b0f05f36f2
5 changed files with 110 additions and 14 deletions
|
|
@ -115,4 +115,12 @@ impl StoreHeader {
|
|||
self.deleted_count += 1;
|
||||
self.deleted_count
|
||||
}
|
||||
|
||||
pub fn is_column_indexed(&self, column: Column) -> bool {
|
||||
self.indexed_columns[column as usize]
|
||||
}
|
||||
|
||||
pub fn make_column_indexed(&mut self, column: Column) {
|
||||
self.indexed_columns[column as usize] = true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue