ExtractionCatalog
The concrete, serializable
This is the form that crosses a bindings boundary, that an editor holds and sends back, and
that gets pinned to disk so a compile can be reproduced against a schema that has since
changed.
Catalog.This is the form that crosses a bindings boundary, that an editor holds and sends back, and
that gets pinned to disk so a compile can be reproduced against a schema that has since
changed.
Used as Input
2
functions accept this type(+3 nested)
Used as Output
2
functions return this type
Type Definition
22 nested items
struct— The concrete, serializable
Catalog.domains*:HashMap<String, HashMap<String, HashMap<String, Vec<String>>>>— Column domains, keyed by source id, then table name, then column name.
[key: string]:HashMap<String, HashMap<String, Vec<String>>>
previews:HashMap<String, HashMap<String, TablePreview>>— A handful of real rows per table, keyed by source id then table name, to show a person
tables*:HashMap<String, HashMap<String, TableSchema>>— Table schemas, keyed by source id then table name.
Example JSON Value
json
{
"domains": {
"something": {
"something": {
"something": [
"example"
]
}
}
},
"tables": {
"something": {
"something": {
"columns": {
"something": {
"col_type": "example",
"name": "example",
"nullable": false
}
},
"name": "example"
}
}
}
}