blob: 3c11fba83593c5828f6624763edc5f0e8c89bb39 (
plain) (
tree)
|
|
module AttributeMap = Map.Make(String)
type non_materialized = {
hash : Conventions.Hash.t;
relation : Conventions.Name.t;
attributes : Attribute.referenced AttributeMap.t;
}
type materialized = {
relation: Conventions.Name.t;
attributes: Attribute.materialized AttributeMap.t
}
type t =
| Materialized of materialized
| NonMaterialized of non_materialized
let make_materialized ~relation ~attributes = Materialized { relation; attributes }
|