2
** ________ ___ / / ___ Scala API **
3
** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
4
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
5
** /____/\___/_/ |_/____/_/ | | **
15
/** A join behaviour in a <code>Jointure</code>. */
16
@deprecated(DbcIsDeprecated, "2.9.0") abstract class JoinType {
17
/** A SQL-99 string representation of the join behaviour. */
21
@deprecated(DbcIsDeprecated, "2.9.0") object JoinType {
23
/** A join behaviour where a joined tuple is created only when a
24
* corresponding tuple exists in both original relations.
26
case object Inner extends JoinType {
27
val sqlString = "INNER JOIN"
30
/** A join behaviour family where a joined tuple is created even when a
31
* tuple has no corresponding tuple in the other relation. The fields
32
* populated by values of the other tuple will receive the NULL value.
34
abstract class Outer extends JoinType
37
/** An outer join behaviour where there will be at least on tuple for
38
* every tuple in the left relation.
40
case object Left extends Outer {
41
val sqlString = "LEFT OUTER JOIN"
43
/** An outer join behaviour where there will be at least on tuple for
44
* every tuple in the right relation.
46
case object Right extends Outer {
47
val sqlString = "RIGHT OUTER JOIN"
49
/** An outer join behaviour where there will be at least on tuple for
50
* every tuple in both right and left relations.
52
case object Full extends Outer {
53
val sqlString = "FULL OUTER JOIN"