public class RelOptMaterialization extends Object
| Modifier and Type | Field and Description |
|---|---|
List<String> |
qualifiedTableName |
RelNode |
queryRel |
@Nullable RelOptTable |
starRelOptTable |
@Nullable StarTable |
starTable |
RelNode |
tableRel |
| Constructor and Description |
|---|
RelOptMaterialization(RelNode tableRel,
RelNode queryRel,
@Nullable RelOptTable starRelOptTable,
List<String> qualifiedTableName)
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 @Nullable RelNode |
tryUseStar(RelNode rel,
RelOptTable starRelOptTable)
Converts a relational expression to one that uses a
StarTable. |
public final RelNode tableRel
public final @Nullable RelOptTable starRelOptTable
public final @Nullable StarTable starTable
public final RelNode queryRel
public RelOptMaterialization(RelNode tableRel, RelNode queryRel, @Nullable RelOptTable starRelOptTable, List<String> qualifiedTableName)
public static @Nullable 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-2022 Apache Software Foundation. All Rights Reserved.