Class StarTable

All Implemented Interfaces:
Table, TranslatableTable, Wrapper

public class StarTable extends AbstractTable implements TranslatableTable
Virtual table that is composed of two or more tables joined together.

Star tables do not occur in end-user queries. They are introduced by the optimizer to help matching queries to materializations, and used only during the planning process.

When a materialization is defined, if it involves a join, it is converted to a query on top of a star table. Queries that are candidates to map onto the materialization are mapped onto the same star table.

  • Field Details

    • lattice

      public final Lattice lattice
    • tables

      public final<Table> tables
    • fieldCounts

      public @MonotonicNonNull ImmutableIntList fieldCounts
      Number of fields in each table's row type.
  • Method Details