tempest-engine 0.0.2

Relational database engine for TempestDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::collections::BTreeMap;

use crate::catalog::schema::{FieldDef, FieldId, FlatField, TableId, TypeExpr};

#[derive(Debug)]
pub(crate) struct ResolvedTable<'a> {
    pub(crate) id: TableId,
    pub(crate) fields: &'a BTreeMap<FieldId, FieldDef>,
    pub(crate) generic_args: &'a Vec<TypeExpr>,
    /// Precomputed flat field indices for each primary key column.
    pub(crate) primary_key: Vec<usize>,
    pub(crate) flat_fields: Vec<FlatField>,
}