net.snowflake.spark.snowflake.pushdowns.querygeneration

ProjectQuery

case class ProjectQuery(columns: Seq[NamedExpression], child: SnowflakeQuery, alias: String) extends SnowflakeQuery with Product with Serializable

The query for a projection operation.

columns

The projection columns.

child

The child node.

alias

Query alias.

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

Instance Constructors

  1. new ProjectQuery(columns: Seq[NamedExpression], child: SnowflakeQuery, alias: String)

    columns

    The projection columns.

    child

    The child node.

    alias

    Query alias.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val alias: String

    Query alias.

  7. final def asInstanceOf[T0]: T0

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

    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
  9. val child: SnowflakeQuery

    The child node.

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val columns: Seq[NamedExpression]

    The projection columns.

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def expressionToStatement(expr: Expression): SnowflakeSQLStatement

    Definition Classes
    SnowflakeQuery
  14. def finalize(): Unit

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

    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
    SnowflakeQuery
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def getStatement(useAlias: Boolean = false): SnowflakeSQLStatement

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

    Definition Classes
    ProjectQuery → SnowflakeQuery
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

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

    Output columns.

    Output columns.

    Definition Classes
    SnowflakeQuery
  24. val suffixStatement: SnowflakeSQLStatement

    What comes after the FROM clause.

    What comes after the FROM clause.

    Definition Classes
    SnowflakeQuery
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. final def wait(): Unit

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

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

    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