Package

unicorn

sql

Permalink

package sql

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. sql
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class Add(left: Expression, right: Expression) extends BinaryOperator with Product with Serializable

    Permalink
  2. trait Aggregation extends Expression

    Permalink
  3. case class AllColumns() extends Projections with Product with Serializable

    Permalink
  4. case class And(left: Expression, right: Expression) extends BinaryOperator with Product with Serializable

    Permalink
  5. case class Avg(expr: Expression) extends Aggregation with Product with Serializable

    Permalink
  6. trait BinaryOperator extends Expression

    Permalink
  7. case class CountAll() extends Aggregation with Product with Serializable

    Permalink
  8. case class CountExpr(expr: Expression) extends Aggregation with Product with Serializable

    Permalink
  9. case class DateLiteral(d: String) extends LiteralExpression with Product with Serializable

    Permalink
  10. case class Divide(left: Expression, right: Expression) extends BinaryOperator with Product with Serializable

    Permalink
  11. trait EqualityOperator extends BinaryOperator

    Permalink
  12. case class Equals(left: Expression, right: Expression) extends EqualityOperator with Product with Serializable

    Permalink
  13. case class Exists(select: SelectStatement) extends Expression with Product with Serializable

    Permalink
  14. trait Expression extends Node

    Permalink
  15. case class ExpressionProjections(lst: Seq[(Expression, Option[String])]) extends Projections with Product with Serializable

    Permalink
  16. case class FieldIdent(qualifier: Option[String], name: String) extends Expression with Product with Serializable

    Permalink
  17. case class FloatLiteral(v: Double) extends LiteralExpression with Product with Serializable

    Permalink
  18. case class GreaterOrEqual(left: Expression, right: Expression) extends InEqualityOperator with Product with Serializable

    Permalink
  19. case class GreaterThan(left: Expression, right: Expression) extends InEqualityOperator with Product with Serializable

    Permalink
  20. case class GroupBy(keys: Seq[Expression], having: Option[Expression]) extends Node with Product with Serializable

    Permalink
  21. case class In(elem: Expression, set: Seq[Expression], negate: Boolean) extends Expression with Product with Serializable

    Permalink
  22. trait InEqualityOperator extends BinaryOperator

    Permalink
  23. case class IntLiteral(v: Int) extends LiteralExpression with Product with Serializable

    Permalink
  24. case class Join(left: Relation, right: Relation, tpe: JoinType, clause: Expression) extends Relation with Product with Serializable

    Permalink
  25. sealed trait JoinType extends AnyRef

    Permalink
  26. case class LessOrEqual(left: Expression, right: Expression) extends InEqualityOperator with Product with Serializable

    Permalink
  27. case class LessThan(left: Expression, right: Expression) extends InEqualityOperator with Product with Serializable

    Permalink
  28. case class Like(left: Expression, right: Expression, negate: Boolean) extends BinaryOperator with Product with Serializable

    Permalink
  29. case class Limit(rows: Long) extends Node with Product with Serializable

    Permalink
  30. trait LiteralExpression extends Expression

    Permalink
  31. case class Max(expr: Expression) extends Aggregation with Product with Serializable

    Permalink
  32. case class Min(expr: Expression) extends Aggregation with Product with Serializable

    Permalink
  33. case class Multiply(left: Expression, right: Expression) extends BinaryOperator with Product with Serializable

    Permalink
  34. trait Node extends AnyRef

    Permalink

    AST for SQL select statement.

    AST for SQL select statement. This is base class of nodes in the AST. Based on https://github.com/epfldata/dblab

  35. case class Not(expr: Expression) extends UnaryOperation with Product with Serializable

    Permalink
  36. case class NotEquals(left: Expression, right: Expression) extends EqualityOperator with Product with Serializable

    Permalink
  37. case class NullLiteral() extends LiteralExpression with Product with Serializable

    Permalink
  38. case class Or(left: Expression, right: Expression) extends BinaryOperator with Product with Serializable

    Permalink
  39. case class OrderBy(keys: Seq[(Expression, OrderType)]) extends Node with Product with Serializable

    Permalink
  40. sealed trait OrderType extends AnyRef

    Permalink
  41. trait Projections extends Node

    Permalink
  42. trait Relation extends Node

    Permalink
  43. class SQLContext extends AnyRef

    Permalink

    SQL context of a Narwhal instance.

  44. case class SelectStatement(projections: Projections, relations: Seq[Relation], where: Option[Expression], groupBy: Option[GroupBy], orderBy: Option[OrderBy], limit: Option[Limit]) extends Node with Expression with Product with Serializable

    Permalink

    We support only select statement.

  45. case class StringLiteral(v: String) extends LiteralExpression with Product with Serializable

    Permalink
  46. case class Subquery(subquery: SelectStatement, alias: String) extends Relation with Product with Serializable

    Permalink
  47. case class Subtract(left: Expression, right: Expression) extends BinaryOperator with Product with Serializable

    Permalink
  48. case class Sum(expr: Expression) extends Aggregation with Product with Serializable

    Permalink
  49. case class Table(name: String, alias: Option[String]) extends Relation with Product with Serializable

    Permalink
  50. case class UnaryMinus(expr: Expression) extends UnaryOperation with Product with Serializable

    Permalink
  51. trait UnaryOperation extends Expression

    Permalink
  52. case class UnaryPlus(expr: Expression) extends UnaryOperation with Product with Serializable

    Permalink

Value Members

  1. object ASC extends OrderType with Product with Serializable

    Permalink
  2. object DESC extends OrderType with Product with Serializable

    Permalink
  3. object FullOuterJoin extends JoinType with Product with Serializable

    Permalink
  4. object InnerJoin extends JoinType with Product with Serializable

    Permalink
  5. object LeftOuterJoin extends JoinType with Product with Serializable

    Permalink
  6. object RightOuterJoin extends JoinType with Product with Serializable

    Permalink
  7. object SQLParser extends StandardTokenParsers

    Permalink

    A simple SQL parser.

    A simple SQL parser. Based on https://github.com/epfldata/dblab

  8. implicit def narwhalSQLContext(db: Narwhal): SQLContext

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped