You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2021/05/19 21:49:54 UTC

[empire-db] branch master updated: EMPIREDB-354 Allow change of join type.

This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f4a100  EMPIREDB-354 Allow change of join type.
9f4a100 is described below

commit 9f4a1009492baf1d60cd1744d6e403a62c228f75
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Wed May 19 23:49:51 2021 +0200

    EMPIREDB-354
    Allow change of join type.
---
 .../src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java  | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java
index 200f19f..09087c1 100644
--- a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java
@@ -61,6 +61,14 @@ public abstract class DBJoinExpr extends DBExpr
     }
     
     /**
+     * alters the join type for this join
+     */
+    public void setType(DBJoinType type)
+    {
+        this.type = type;
+    }
+
+    /**
      * returns the RowSet on the left of the join
      */
     public abstract DBRowSet getLeftTable();