Class MutableProject

    • Field Detail

      • projects

        public final java.util.List<RexNode> projects
    • Method Detail

      • of

        public static MutableProject of​(RelDataType rowType,
                                        MutableRel input,
                                        java.util.List<RexNode> projects)
        Creates a MutableProject.
        rowType - Row type
        input - Input relational expression
        projects - List of expressions for the input columns
      • of

        public static MutableRel of​(MutableRel input,
                                    java.util.List<RexNode> exprList,
                                    java.util.List<java.lang.String> fieldNameList)
        Creates a MutableProject.
        input - Input relational expression
        exprList - List of expressions for the input columns
        fieldNameList - Aliases of the expressions, or null to generate
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • digest

        public java.lang.StringBuilder digest​(java.lang.StringBuilder buf)
        Specified by:
        digest in class MutableRel
      • getNamedProjects

        public final java.util.List<Pair<RexNode,​java.lang.String>> getNamedProjects()
        Returns a list of (expression, name) pairs.