-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support for full outer join - initial implementation #24
- Loading branch information
Showing
12 changed files
with
242 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
core/src/main/groovy/com/virtusa/gto/nyql/db/QJoins.groovy
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
core/src/main/groovy/com/virtusa/gto/nyql/model/JoinType.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.virtusa.gto.nyql.model | ||
|
||
import groovy.transform.CompileStatic | ||
|
||
/** | ||
* @author iweerarathna | ||
*/ | ||
@CompileStatic | ||
enum JoinType { | ||
|
||
CROSS_JOIN('CROSS JOIN'), | ||
LEFT_JOIN('LEFT JOIN'), | ||
RIGHT_JOIN('RIGHT JOIN'), | ||
FULL_JOIN('FULL JOIN'), | ||
INNER_JOIN('INNER JOIN') | ||
|
||
private final String joinName | ||
|
||
JoinType(String joinName) { | ||
this.joinName = joinName | ||
} | ||
|
||
String getJoinName() { | ||
return joinName | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
translators/mysql/src/main/groovy/com/virtusa/gto/nyql/db/mysql/MySqlFullJoin.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.virtusa.gto.nyql.db.mysql | ||
|
||
import com.virtusa.gto.nyql.Join | ||
import groovy.transform.CompileStatic | ||
import groovy.transform.PackageScope | ||
|
||
/** | ||
* @author iweerarathna | ||
*/ | ||
@CompileStatic | ||
@PackageScope | ||
class MySqlFullJoin extends Join { | ||
} |
Oops, something went wrong.