Class PigRel.Implementor

  • Enclosing interface:

    public static class PigRel.Implementor
    extends java.lang.Object
    Callback for the implementation process that converts a tree of PigRel nodes into complete Pig Latin script.
    • Field Detail

      • statements

        private final java.util.List<java.lang.String> statements
        An ordered list of Pig Latin statements.

        See Pig Latin reference.

    • Constructor Detail

      • Implementor

        public Implementor()
    • Method Detail

      • getTableName

        public java.lang.String getTableName​(RelNode input)
      • getPigRelationAlias

        public java.lang.String getPigRelationAlias​(RelNode input)
      • getFieldName

        public java.lang.String getFieldName​(RelNode input,
                                             int index)
      • addStatement

        public void addStatement​(java.lang.String statement)
      • visitChild

        public void visitChild​(int ordinal,
                               RelNode input)
      • getStatements

        public java.util.List<java.lang.String> getStatements()
      • getScript

        public java.lang.String getScript()