Class MutableTableModify

    • Field Detail

      • updateColumnList

        public final java.util.List<java.lang.String> updateColumnList
      • sourceExpressionList

        public final java.util.List<RexNode> sourceExpressionList
      • flattened

        public final boolean flattened
    • Method Detail

      • of

        public static MutableTableModify of​(RelDataType rowType,
                                            MutableRel input,
                                            RelOptTable table,
                                            Prepare.CatalogReader catalogReader,
                                            TableModify.Operation operation,
                                            java.util.List<java.lang.String> updateColumnList,
                                            java.util.List<RexNode> sourceExpressionList,
                                            boolean flattened)
        Creates a MutableTableModify.
        Parameters:
        rowType - Row type
        input - Input relational expression
        table - Target table to modify
        catalogReader - Accessor to the table metadata
        operation - Modify operation (INSERT, UPDATE, DELETE)
        updateColumnList - List of column identifiers to be updated (e.g. ident1, ident2); null if not UPDATE
        sourceExpressionList - List of value expressions to be set (e.g. exp1, exp2); null if not UPDATE
        flattened - Whether set flattens the input row type
      • equals

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

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

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