Class GeodeProject

All Implemented Interfaces:
Cloneable, GeodeRel, RelOptNode, Hintable, RelNode

public class GeodeProject extends Project implements GeodeRel
Implementation of Project relational expression in Geode.
  • Method Details

    • copy

      public Project copy(RelTraitSet traitSet, RelNode input, List<RexNode> projects, RelDataType rowType)
      Description copied from class: Project
      Copies a project.
      Specified by:
      copy in class Project
      traitSet - Traits
      input - Input
      projects - Project expressions
      rowType - Output row type
      New Project if any parameter differs from the value of this Project, or just this if all the parameters are the same
      See Also:
    • computeSelfCost

      public @Nullable RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery mq)
      Description copied from interface: RelNode
      Returns the cost of this plan (not including children). The base implementation throws an error; derived classes should override.

      NOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use RelMetadataQuery.getNonCumulativeCost(org.apache.calcite.rel.RelNode), which gives plugins a chance to override the rel's default ideas about cost.

      Specified by:
      computeSelfCost in interface RelNode
      computeSelfCost in class Project
      planner - Planner for cost calculation
      mq - Metadata query
      Cost of this plan (not including children)
    • implement

      public void implement(GeodeRel.GeodeImplementContext geodeImplementContext)
      Description copied from interface: GeodeRel
      Callback for the implementation process that collects the context from the GeodeRel required to convert the relational tree into physical such.
      Specified by:
      implement in interface GeodeRel
      geodeImplementContext - Context class that collects the feedback from the call back method calls