Class PigTableScan

    • Method Detail

      • 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
      • getPigTable

        private PigTable getPigTable​(java.lang.String name)
      • getSchemaForPigStatement

        private java.lang.String getSchemaForPigStatement​(PigRel.Implementor implementor)
      • getConcatenatedFieldNameAndTypeForPigSchema

        private java.lang.String getConcatenatedFieldNameAndTypeForPigSchema​(PigRel.Implementor implementor,
                                                                             RelDataTypeField field)
      • register

        public void register​(RelOptPlanner planner)
        Description copied from interface: RelNode
        Registers any special rules specific to this kind of relational expression.

        The planner calls this method this first time that it sees a relational expression of this class. The derived class should call RelOptPlanner.addRule(org.apache.calcite.plan.RelOptRule) for each rule, and then call super.register.

        Specified by:
        register in interface RelNode
        register in class AbstractRelNode
        planner - Planner to be used to register additional relational expressions