public class RelOptQuery extends Object
RelOptQuery
represents a set of
relational expressions
which derive from the same
select
statement.Modifier and Type | Field and Description |
---|---|
static String |
CORREL_PREFIX
Prefix to the name of correlating variables.
|
Constructor and Description |
---|
RelOptQuery(RelOptPlanner planner)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RelOptCluster |
createCluster(RelDataTypeFactory typeFactory,
RexBuilder rexBuilder)
Deprecated.
|
String |
createCorrel()
Deprecated.
|
static int |
getCorrelOrdinal(String correlName)
Deprecated.
|
RelNode |
lookupCorrel(String name)
Returns the relational expression which populates a correlating variable.
|
void |
mapCorrel(String name,
RelNode rel)
Maps a correlating variable to a
RelNode . |
public static final String CORREL_PREFIX
@Deprecated public RelOptQuery(RelOptPlanner planner)
planner
- Planner@Deprecated public static int getCorrelOrdinal(String correlName)
correlName
- Name of correlating variable@Deprecated public RelOptCluster createCluster(RelDataTypeFactory typeFactory, RexBuilder rexBuilder)
typeFactory
- Type factoryrexBuilder
- Expression builder@Deprecated public String createCorrel()
RelOptCluster.createCorrel()
public RelNode lookupCorrel(String name)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.