Package org.apache.calcite.rel.core
Interface RelFactories.ProjectFactory
- Enclosing class:
RelFactories
public static interface RelFactories.ProjectFactory
Can create a
LogicalProject
of the
appropriate type for this rule's calling convention.-
Method Summary
Modifier and TypeMethodDescriptiondefault RelNode
createProject
(RelNode input, List<RelHint> hints, List<? extends RexNode> childExprs, @Nullable List<? extends @Nullable String> fieldNames) Deprecated.createProject
(RelNode input, List<RelHint> hints, List<? extends RexNode> childExprs, @Nullable List<? extends @Nullable String> fieldNames, Set<CorrelationId> variablesSet) Creates a project.
-
Method Details
-
createProject
@Deprecated default RelNode createProject(RelNode input, List<RelHint> hints, List<? extends RexNode> childExprs, @Nullable List<? extends @Nullable String> fieldNames) Deprecated.UsecreateProject(RelNode, List, List, List, Set)
insteadCreates a project.- Parameters:
input
- The inputhints
- The hintschildExprs
- The projection expressionsfieldNames
- The projection field names- Returns:
- a project
-
createProject
RelNode createProject(RelNode input, List<RelHint> hints, List<? extends RexNode> childExprs, @Nullable List<? extends @Nullable String> fieldNames, Set<CorrelationId> variablesSet) Creates a project.- Parameters:
input
- The inputhints
- The hintschildExprs
- The projection expressionsfieldNames
- The projection field namesvariablesSet
- Correlating variables that are set when reading a row from the input, and which may be referenced from the projection expressions- Returns:
- a project
-
createProject(RelNode, List, List, List, Set)
instead