Package org.apache.calcite.plan
Class ViewExpanders
java.lang.Object
org.apache.calcite.plan.ViewExpanders
Utilities for
RelOptTable.ViewExpander
and
RelOptTable.ToRelContext
.-
Method Summary
Modifier and TypeMethodDescriptionstatic RelOptTable.ToRelContext
simpleContext
(RelOptCluster cluster) Creates a simpleToRelContext
that cannot expand views.static RelOptTable.ToRelContext
simpleContext
(RelOptCluster cluster, List<RelHint> hints) Creates a simpleToRelContext
that cannot expand views.static RelOptTable.ToRelContext
toRelContext
(RelOptTable.ViewExpander viewExpander, RelOptCluster cluster) Converts aViewExpander
to aToRelContext
.static RelOptTable.ToRelContext
toRelContext
(RelOptTable.ViewExpander viewExpander, RelOptCluster cluster, List<RelHint> hints) Converts aViewExpander
to aToRelContext
.
-
Method Details
-
toRelContext
public static RelOptTable.ToRelContext toRelContext(RelOptTable.ViewExpander viewExpander, RelOptCluster cluster, List<RelHint> hints) Converts aViewExpander
to aToRelContext
. -
toRelContext
public static RelOptTable.ToRelContext toRelContext(RelOptTable.ViewExpander viewExpander, RelOptCluster cluster) Converts aViewExpander
to aToRelContext
. -
simpleContext
Creates a simpleToRelContext
that cannot expand views. -
simpleContext
Creates a simpleToRelContext
that cannot expand views.
-