Class

net.snowflake.spark.snowflake.pushdowns.querygeneration

JoinQuery

Related Doc: package querygeneration

Permalink

case class JoinQuery(left: SnowflakeQuery, right: SnowflakeQuery, conditions: Option[Expression], joinType: JoinType, alias: String) extends SnowflakeQuery 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.

Linear Supertypes
Serializable, Serializable, Product, Equals, SnowflakeQuery, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JoinQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SnowflakeQuery
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JoinQuery(left: SnowflakeQuery, right: SnowflakeQuery, conditions: Option[Expression], joinType: JoinType, alias: String)

    Permalink

    left

    The left query subtree.

    right

    The right query subtree.

    conditions

    The join conditions.

    joinType

    The join type.

    alias

    Query alias.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val alias: String

    Permalink

    Query alias.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def canJoin(otherTree: SnowflakeQuery): Boolean

    Permalink

    Determines if two SnowflakeQuery subtrees can be joined together.

    Determines if two SnowflakeQuery 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
    SnowflakeQuery
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val conditions: Option[Expression]

    Permalink

    The join conditions.

  9. val conj: String

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def expressionToString(expr: Expression): String

    Permalink
    Definition Classes
    SnowflakeQuery
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def find[T](query: PartialFunction[SnowflakeQuery, T]): Option[T]

    Permalink

    Finds a particular query type in the overall tree.

    Finds a particular query type in the overall tree.

    T

    SnowflakeQuery type

    query

    PartialFunction defining a positive result.

    returns

    Option[T] for one positive match, or None if nothing found.

    Definition Classes
    JoinQuery → SnowflakeQuery
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getQuery(useAlias: Boolean = false): String

    Permalink

    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
    SnowflakeQuery
  16. val helper: QueryHelper

    Permalink
    Definition Classes
    JoinQuery → SnowflakeQuery
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val joinType: JoinType

    Permalink

    The join type.

  19. val left: SnowflakeQuery

    Permalink

    The left query subtree.

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. lazy val output: Seq[Attribute]

    Permalink

    Output columns.

    Output columns.

    Definition Classes
    SnowflakeQuery
  24. val right: SnowflakeQuery

    Permalink

    The right query subtree.

  25. val suffix: String

    Permalink

    What comes after the FROM clause.

    What comes after the FROM clause.

    Definition Classes
    JoinQuery → SnowflakeQuery
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SnowflakeQuery

Inherited from AnyRef

Inherited from Any

Ungrouped