public class RelOptMaterialization extends Object
| Modifier and Type | Field and Description |
|---|---|
RelNode |
queryRel |
RelOptTable |
starRelOptTable |
StarTable |
starTable |
RelOptTable |
table |
RelNode |
tableRel |
| Constructor and Description |
|---|
RelOptMaterialization(RelNode tableRel,
RelNode queryRel,
RelOptTable starRelOptTable)
Creates a RelOptMaterialization.
|
| Modifier and Type | Method and Description |
|---|---|
static RelNode |
toLeafJoinForm(RelNode rel)
Converts a relational expression to a form where
LogicalJoins are
as close to leaves as possible. |
static RelNode |
tryUseStar(RelNode rel,
RelOptTable starRelOptTable)
Converts a relational expression to one that uses a
StarTable. |
public final RelNode tableRel
public final RelOptTable starRelOptTable
public final StarTable starTable
public final RelOptTable table
public final RelNode queryRel
public RelOptMaterialization(RelNode tableRel, RelNode queryRel, RelOptTable starRelOptTable)
public static RelNode tryUseStar(RelNode rel, RelOptTable starRelOptTable)
StarTable.
The relational expression is already in leaf-join-form, per
toLeafJoinForm(org.apache.calcite.rel.RelNode).public static RelNode toLeafJoinForm(RelNode rel)
LogicalJoins are
as close to leaves as possible.Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.