Package org.apache.calcite.plan
Class RelOptQuery
java.lang.Object
org.apache.calcite.plan.RelOptQuery
A
RelOptQuery represents a set of
relational expressions which derive from the same
select statement.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPrefix to the name of correlating variables. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCluster(RelDataTypeFactory typeFactory, RexBuilder rexBuilder) Deprecated.Deprecated.static intgetCorrelOrdinal(String correlName) Deprecated.@Nullable RelNodelookupCorrel(String name) Returns the relational expression which populates a correlating variable.voidMaps a correlating variable to aRelNode.
-
Field Details
-
CORREL_PREFIX
Prefix to the name of correlating variables.- See Also:
-
-
Constructor Details
-
RelOptQuery
Deprecated.Creates a query.- Parameters:
planner- Planner
-
-
Method Details
-
getCorrelOrdinal
Deprecated.Converts a correlating variable name into an ordinal, unique within the query.- Parameters:
correlName- Name of correlating variable- Returns:
- Correlating variable ordinal
-
createCluster
@Deprecated public RelOptCluster createCluster(RelDataTypeFactory typeFactory, RexBuilder rexBuilder) Deprecated.Creates a cluster.- Parameters:
typeFactory- Type factoryrexBuilder- Expression builder- Returns:
- New cluster
-
createCorrel
Deprecated.Constructs a new name for a correlating variable. It is unique within the whole query. -
lookupCorrel
Returns the relational expression which populates a correlating variable. -
mapCorrel
Maps a correlating variable to aRelNode.
-
RelOptCluster.createCorrel()