Class PigProject

    • Method Detail

      • copy

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

        public void implement​(PigRel.Implementor implementor)
        Description copied from interface: PigRel
        Converts this node to a Pig Latin statement.
        Specified by:
        implement in interface PigRel
      • getTable

        public RelOptTable getTable()
        Override this method so it looks down the tree to find the table this node is acting on.
        Specified by:
        getTable in interface RelNode
        Overrides:
        getTable in class AbstractRelNode
        Returns:
        If this relational expression represents an access to a table, returns that table, otherwise returns null