Make use of indexes

This commit is contained in:
Yuriy Dupyn 2024-02-04 23:54:22 +01:00
parent 2357ea8230
commit 8139112934
5 changed files with 120 additions and 27 deletions

View file

@ -1,7 +1,11 @@
use crate::storage_engine::Column;
#[derive(Debug)]
pub enum Error {
DecodeError(DecodeErrorKind, bincode::error::DecodeError),
EncodeError(bincode::error::EncodeError),
AttemptToIndexNonIndexableColumn(Column),
IndexIsStoringEofFilePosition(Column),
IoError(std::io::Error),
InvalidStoreHeader,
}