Alter an existing view to use a new query
Alter an existing view to use a new query
The name of the view to alter
The new query to back the view with
SQLException
If a view or table with the same name already exists
Obtain properties for the specified view
Obtain properties for the specified view
The name of the view to look up
Properties for the specified query
SQLException
If the specified view does not exist
Instantiate a new view
Instantiate a new view
The name of the view to create
The query to back the view with
SQLException
If a view or table with the same name already exists
Remove the materialization for the specified view
Remove the materialization for the specified view
The name of the view to dematerialize
Drop an existing view
Drop an existing view
The name of the view to alter
SQLException
If a view or table with the same name already exists
Obtain the properties of the specified view
Obtain the properties of the specified view
The name of the view to look up
Properties for the specified query or None if the view doesn't exist
Initialize the view manager:
Initialize the view manager:
List all views known to the view manager
List all views known to the view manager
A list of all view names
Return a query that can be used to list the attributes of all views known to Mimir.
Return a query that can be used to list the attributes of all views known to Mimir. Used mainly by Mimir's system catalog (presently unimplemented)
Return a query that can be used to list all views known to Mimir.
Return a query that can be used to list all views known to Mimir. Used mainly by Mimir's system catalog
A query that returns a list of all known views when executed
Materialize the specified view
Materialize the specified view
The name of the view to materialize
Rebuild Adaptive Views: The first step in query rewriting.
Rebuild Adaptive Views: The first step in query rewriting.
For each adaptive view in the provided query, rerun viewFor so we get an updated view in case of hard-coded model use in the view creation and subsequent feedback.
The operator to rebuild adaptive views in
A version of the tree for op
with refreshed View nodes.
Resolve views: The final step in query rewriting.
Resolve views: The final step in query rewriting.
For each view in the provided query, decide whether the view can be resolved to a materialized view table, or whether it needs to be executed directly.
The operator to resolve views in
A version of the tree for op
with no View nodes.