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 Details

    • createProject

      @Deprecated default RelNode createProject(RelNode input, List<RelHint> hints, List<? extends RexNode> childExprs, @Nullable List<? extends @Nullable String> fieldNames)
      Creates a project.
      Parameters:
      input - The input
      hints - The hints
      childExprs - The projection expressions
      fieldNames - 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 input
      hints - The hints
      childExprs - The projection expressions
      fieldNames - The projection field names
      variablesSet - Correlating variables that are set when reading a row from the input, and which may be referenced from the projection expressions
      Returns:
      a project