Class Prepare.Materialization

  • Enclosing class:
    Prepare

    public static class Prepare.Materialization
    extends java.lang.Object
    Describes that a given SQL query is materialized by a given table. The materialization is currently valid, and can be used in the planning process.
    • Field Detail

      • sql

        final java.lang.String sql
        The query that derives the data.
      • viewSchemaPath

        final java.util.List<java.lang.String> viewSchemaPath
        The schema path for the query.
      • queryRel

        RelNode queryRel
        Relational expression for the query to populate the table.
      • starRelOptTable

        private RelOptTable starRelOptTable
        Star table identified.
    • Constructor Detail

      • Materialization

        public Materialization​(CalciteSchema.TableEntry materializedTable,
                               java.lang.String sql,
                               java.util.List<java.lang.String> viewSchemaPath)
    • Method Detail

      • materialize

        public void materialize​(RelNode queryRel,
                                RelOptTable starRelOptTable)