Closed tom6311tom6311 closed 5 years ago
Index
DiskInterface
DiskInterface::build_index_from_table_bin
DiskInterface::load_index
DiskInterface::save_index
Index::insert
Index::delete
TableMeta
File
FileError
IndexError
DiskError
https://github.com/tigercosmos/StellarSQL/blob/6e63d272a276fe6a7cfff64f35f22132c20cd063/src/storage/file.rs#L19-L24
TODO
Brief
Index
build/load/save/insert/delete operationsDiskInterface
, which is the standard interface for accessing file and indexFeatures:
DiskInterface::build_index_from_table_bin
DiskInterface::load_index
DiskInterface::save_index
Index::insert
Index::delete
Index
ordering by raw bytes of primary key, rather than attr value with data typeTableMeta
ofIndex
andFile
into one atDiskInterface
FileError
andIndexError
intoDiskError
DiskInterface
Known Issues
Index
only support single-attr primary key currently