Class com::mapd::calcite::parser::ProjectProjectRemoveRule

class ProjectProjectRemoveRule : public RelOptRule

removes identical projection nodes, if they are not the outer most projection or if the child is a projection

Public Functions

com.mapd.calcite.parser.ProjectProjectRemoveRule.ProjectProjectRemoveRule(RelBuilderFactory relBuilderFactory)

Creates a ProjectRemoveRule.

Parameters
  • relBuilderFactory: Builder for relational expressions

void com.mapd.calcite.parser.ProjectProjectRemoveRule.onMatch(RelOptRuleCall call)

Public Static Attributes

final ProjectProjectRemoveRule com.mapd.calcite.parser.ProjectProjectRemoveRule.INSTANCE= new ProjectProjectRemoveRule(RelFactories.LOGICAL_BUILDER)

Private Members

ProjectRemoveRule com.mapd.calcite.parser.ProjectProjectRemoveRule.innerRule