Packages

case class UnionQuery(children: Seq[LogicalPlan], alias: String, outputCols: Option[Seq[Attribute]] = None) extends RedshiftQuery with Product with Serializable

The query for union.

children

Children of the union expression.

Linear Supertypes
Serializable, Serializable, Product, Equals, RedshiftQuery, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnionQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RedshiftQuery
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnionQuery(children: Seq[LogicalPlan], alias: String, outputCols: Option[Seq[Attribute]] = None)

    children

    Children of the union expression.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val alias: String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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
  7. val children: Seq[LogicalPlan]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def expressionToStatement(expr: Expression): RedshiftSQLStatement
    Definition Classes
    RedshiftQuery
  11. 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
    UnionQuery → RedshiftQuery
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def getStatement(useAlias: Boolean): 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
    UnionQuery → RedshiftQuery
  14. val helper: QueryHelper
    Definition Classes
    UnionQuery → RedshiftQuery
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. lazy val output: Seq[Attribute]

    Output columns.

    Output columns.

    Definition Classes
    RedshiftQuery
  20. val outputCols: Option[Seq[Attribute]]
  21. val queries: Seq[RedshiftQuery]
  22. val suffixStatement: RedshiftSQLStatement

    What comes after the FROM clause.

    What comes after the FROM clause.

    Definition Classes
    RedshiftQuery
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RedshiftQuery

Inherited from AnyRef

Inherited from Any

Ungrouped