public class RelOptMaterialization
extends java.lang.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 |
---|---|
java.util.List<java.lang.String> |
qualifiedTableName |
RelNode |
queryRel |
RelOptTable |
starRelOptTable |
StarTable |
starTable |
RelNode |
tableRel |
Constructor and Description |
---|
RelOptMaterialization(RelNode tableRel,
RelNode queryRel,
RelOptTable starRelOptTable,
java.util.List<java.lang.String> qualifiedTableName)
Creates a RelOptMaterialization.
|
Modifier and Type | Method and Description |
---|---|
static RelNode |
toLeafJoinForm(RelNode rel)
Converts a relational expression to a form where
LogicalJoin s 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 java.util.List<java.lang.String> qualifiedTableName
public final RelNode queryRel
public RelOptMaterialization(RelNode tableRel, RelNode queryRel, RelOptTable starRelOptTable, java.util.List<java.lang.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)
LogicalJoin
s are
as close to leaves as possible.Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.