Package com.darkcollective.relix.semantic


package com.darkcollective.relix.semantic
The result of analysing a script, and the seams analysis reads through.

SemanticModel is the analysed script: its symbols, every node's inferred heading (SchemaAnnotations), its root queries and its schema graph. A problem the analyser found is a SemanticError of some Severity.

Two seams supply what a script does not carry itself: a ScriptLoader reads the files an import names, and a CatalogProvider describes the tables a connection holds. A CatalogSnapshot is a catalog captured once and replayed with nothing reachable.

  • Class
    Description
    Supplies table metadata for database connections during semantic analysis.
    Table metadata captured once and replayed later, so a session composes and costs a query with no database in reach.
    One observation of one table.
    Where one entry's knowledge came from.
    A mapping from individual RelNode instances to their inferred Schemas.
    Strategy for resolving a path to a Script — the engine's pluggable "where does a Script come from" seam.
    A single diagnostic produced during semantic analysis of a .relix script.
    The validated in-memory representation produced by a successful (or partially-successful) semantic analysis run.
    Severity level of a SemanticError.