case class JoinQuery(left: RedshiftQuery, right: RedshiftQuery, conditions: Option[Expression], joinType: JoinType, alias: String) extends RedshiftQuery with Product with Serializable
The query for join operations.
- left
The left query subtree.
- right
The right query subtree.
- conditions
The join conditions.
- joinType
The join type.
- alias
Query alias.
- Alphabetic
- By Inheritance
- JoinQuery
- Serializable
- Serializable
- Product
- Equals
- RedshiftQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
JoinQuery(left: RedshiftQuery, right: RedshiftQuery, conditions: Option[Expression], joinType: JoinType, alias: String)
- left
The left query subtree.
- right
The right query subtree.
- conditions
The join conditions.
- joinType
The join type.
- alias
Query alias.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val alias: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canJoin(otherTree: RedshiftQuery): Boolean
Determines if two RedshiftQuery subtrees can be joined together.
Determines if two RedshiftQuery subtrees can be joined together.
- otherTree
The other tree, can it be joined with this one?
- returns
True if can be joined, or False if not.
- Definition Classes
- RedshiftQuery
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- val conditions: Option[Expression]
- val conj: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
expressionToStatement(expr: Expression): RedshiftSQLStatement
- Definition Classes
- RedshiftQuery
-
def
find[T](query: PartialFunction[RedshiftQuery, T]): Option[T]
Finds a particular query type in the overall tree.
Finds a particular query type in the overall tree.
- T
RedshiftQuery type
- query
PartialFunction defining a positive result.
- returns
Option[T] for one positive match, or None if nothing found.
- Definition Classes
- JoinQuery → RedshiftQuery
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getStatement(useAlias: Boolean = false): RedshiftSQLStatement
Converts this query into a String representing the SQL.
Converts this query into a String representing the SQL.
- useAlias
Whether or not to alias this translated block of SQL.
- returns
SQL statement for this query.
- Definition Classes
- RedshiftQuery
-
val
helper: QueryHelper
- Definition Classes
- JoinQuery → RedshiftQuery
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val joinType: JoinType
- val left: RedshiftQuery
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
lazy val
output: Seq[Attribute]
Output columns.
Output columns.
- Definition Classes
- RedshiftQuery
- val right: RedshiftQuery
-
val
suffixStatement: RedshiftSQLStatement
- Definition Classes
- JoinQuery → RedshiftQuery
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated