Package org.apache.calcite.materialize

Management of materialized query results.

An actor (MaterializationActor) maintains the state of all materializations in the system and is wrapped in a service (MaterializationService) for access from other parts of the system.

Optimizer rules allow Calcite to rewrite queries using materializations, if they are valid (that is, contain the same result as executing their defining query) and lower cost.

In future, the actor may manage the process of updating materializations, instantiating materializations from the intermediate results of queries, and recognize what materializations would be useful based on actual query load.

Skip navigation links

Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.