package querygeneration
Package-level static methods and variable constants. These includes helper functions for adding and converting expressions, formatting blocks and identifiers, logging, and formatting SQL.
- Alphabetic
- By Inheritance
- querygeneration
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
AggregateQuery(columns: Seq[NamedExpression], groups: Seq[Expression], child: RedshiftQuery, alias: String) extends RedshiftQuery with Product with Serializable
The query for a aggregation operation.
The query for a aggregation operation.
- columns
The projection columns, containing also the aggregate expressions.
- groups
The grouping columns.
- child
The child node.
- alias
Query alias.
-
case class
FilterQuery(conditions: Seq[Expression], child: RedshiftQuery, alias: String, fields: Option[Seq[Attribute]] = None) extends RedshiftQuery with Product with Serializable
The query for a filter operation.
The query for a filter operation.
- conditions
The filter condition.
- child
The child node.
- alias
Query alias.
-
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.
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.
- case class LeftSemiJoinQuery(left: RedshiftQuery, right: RedshiftQuery, conditions: Option[Expression], isAntiJoin: Boolean = false, alias: Iterator[String]) extends RedshiftQuery with Product with Serializable
-
case class
ProjectQuery(columns: Seq[NamedExpression], child: RedshiftQuery, alias: String) extends RedshiftQuery with Product with Serializable
The query for a projection operation.
The query for a projection operation.
- columns
The projection columns.
- child
The child node.
- alias
Query alias.
-
case class
SortLimitQuery(limit: Option[Expression], orderBy: Seq[Expression], child: RedshiftQuery, alias: String) extends RedshiftQuery with Product with Serializable
The query for Sort and Limit operations.
The query for Sort and Limit operations.
- limit
Limit expression.
- orderBy
Order By expressions.
- child
The child node.
- alias
Query alias.
-
case class
SourceQuery(relation: RedshiftRelation, refColumns: Seq[Attribute], alias: String) extends RedshiftQuery with Product with Serializable
The query for a base type (representing a table or view).
The query for a base type (representing a table or view).
- relation
The base RedshiftRelation representing the basic table, view, or subquery defined by the user.
- refColumns
Columns used to override the output generation for the QueryHelper. These are the columns resolved by RedshiftRelation.
- alias
Query alias.
-
case class
UnionQuery(children: Seq[LogicalPlan], alias: String, outputCols: Option[Seq[Attribute]] = None) extends RedshiftQuery with Product with Serializable
The query for union.
The query for union.
- children
Children of the union expression.
-
case class
WindowQuery(windowExpressions: Seq[NamedExpression], child: RedshiftQuery, alias: String, fields: Option[Seq[Attribute]]) extends RedshiftQuery with Product with Serializable
Query including a windowing clause.
Query including a windowing clause.
- windowExpressions
The windowing expressions.
- child
The child query.
- alias
Query alias.
- fields
The fields generated by this query referenceable by the parent.
Value Members
- final def mkStatement(seq: Seq[RedshiftSQLStatement], delimiter: String): RedshiftSQLStatement
- final def mkStatement(seq: Seq[RedshiftSQLStatement], delimiter: RedshiftSQLStatement): RedshiftSQLStatement
- object ScalarSubqueryExtractor