public class RelOptMaterialization extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
RelOptMaterialization.ProjectFilterTable
A table scan and optional project mapping and filter condition.
|
| Modifier and Type | Field and Description |
|---|---|
List<String> |
qualifiedTableName |
RelNode |
queryRel |
RelOptTable |
starRelOptTable |
StarTable |
starTable |
RelNode |
tableRel |
| Constructor and Description |
|---|
RelOptMaterialization(RelNode tableRel,
RelNode queryRel,
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 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 RelNode queryRel
public RelOptMaterialization(RelNode tableRel, RelNode queryRel, RelOptTable starRelOptTable, List<String> qualifiedTableName)
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–2018 The Apache Software Foundation. All rights reserved.