Package

quasar

sql

Permalink

package sql

Linear Supertypes
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. final case class ArrayDeref[T[_[_]]](expr: T[Sql]) extends DerefType[T] with Product with Serializable

    Permalink
  2. final case class ArrayLiteral[A] extends Sql[A] with Product with Serializable

    Permalink
  3. sealed abstract class BinaryOperator extends slamdata.Predef.Product with slamdata.Predef.Serializable

    Permalink
  4. final case class Binop[A] extends Sql[A] with Product with Serializable

    Permalink
  5. final case class Block[T](expr: T, defs: slamdata.Predef.List[FunctionDecl[T]]) extends Product with Serializable

    Permalink
  6. final case class BoolLiteral[A] extends Sql[A] with Product with Serializable

    Permalink
  7. final case class CIName(value: slamdata.Predef.String) extends Product with Serializable

    Permalink
  8. final case class Case[A](cond: A, expr: A) extends Product with Serializable

    Permalink
  9. sealed abstract class DerefType[T[_[_]]] extends slamdata.Predef.Product with slamdata.Predef.Serializable

    Permalink
  10. final case class DimChange[T[_[_]]](unop: UnaryOperator) extends DerefType[T] with Product with Serializable

    Permalink
  11. implicit class ExprOps[T[_[_]]] extends AnyRef

    Permalink
  12. final case class ExprRelationAST[A](expr: A, alias: slamdata.Predef.Option[slamdata.Predef.String]) extends NamedRelation[A] with Product with Serializable

    Permalink
  13. type FUPath = Path[_, File, Unsandboxed]

    Permalink
  14. final case class FloatLiteral[A] extends Sql[A] with Product with Serializable

    Permalink
  15. final case class FunctionDecl[BODY](name: CIName, args: slamdata.Predef.List[CIName], body: BODY) extends Statement[BODY] with Product with Serializable

    Permalink
  16. final case class GenericParsingError(message: slamdata.Predef.String) extends ParsingError with Product with Serializable

    Permalink
  17. final case class GroupBy[A](keys: slamdata.Predef.List[A], having: slamdata.Predef.Option[A]) extends Product with Serializable

    Permalink
  18. final case class Ident[A] extends Sql[A] with Product with Serializable

    Permalink
  19. final case class IdentRelationAST[A](name: slamdata.Predef.String, alias: slamdata.Predef.Option[slamdata.Predef.String]) extends NamedRelation[A] with Product with Serializable

    Permalink

    IdentRelationAST allows us to reference a let binding in a relation (i.e.

    IdentRelationAST allows us to reference a let binding in a relation (i.e. table) context. ExprF.IdentF allows us to reference a let binding in expression context. Ideally we can unify these two contexts, providing a single way to reference a let binding.

  20. final case class Import[BODY](path: Path[slamdata.Predef.Any, Dir, Unsandboxed]) extends Statement[BODY] with Product with Serializable

    Permalink
  21. final case class IntLiteral[A] extends Sql[A] with Product with Serializable

    Permalink
  22. final case class InvokeFunction[A] extends Sql[A] with Product with Serializable

    Permalink
  23. sealed abstract class IsDistinct extends slamdata.Predef.Product with slamdata.Predef.Serializable

    Permalink
  24. sealed abstract class JoinDir extends AnyRef

    Permalink
  25. final case class JoinRelation[A](left: SqlRelation[A], right: SqlRelation[A], tpe: JoinType, clause: A) extends SqlRelation[A] with Product with Serializable

    Permalink
  26. final case class Let[A](ident: CIName, bindTo: A, in: A) extends Sql[A] with Product with Serializable

    Permalink
  27. final case class MapDeref[T[_[_]]](expr: T[Sql]) extends DerefType[T] with Product with Serializable

    Permalink
  28. final case class MapLiteral[A] extends Sql[A] with Product with Serializable

    Permalink

    Can’t be a Map, because we need to arbitrarily transform the key

  29. final case class Match[A] extends Sql[A] with Product with Serializable

    Permalink
  30. sealed abstract class NamedRelation[A] extends SqlRelation[A]

    Permalink
  31. final case class NullLiteral[A] extends Sql[A] with Product with Serializable

    Permalink
  32. final case class OrderBy[A](keys: NonEmptyList[(OrderType, A)]) extends Product with Serializable

    Permalink
  33. sealed abstract class OrderType extends slamdata.Predef.Product with slamdata.Predef.Serializable

    Permalink
  34. sealed abstract class ParsingError extends AnyRef

    Permalink
  35. final case class ParsingPathError(error: PathError) extends ParsingError with Product with Serializable

    Permalink
  36. final case class Proj[A](expr: A, alias: slamdata.Predef.Option[slamdata.Predef.String]) extends Product with Serializable

    Permalink
  37. final case class Query(value: slamdata.Predef.String) extends Product with Serializable

    Permalink
  38. final case class ScopedExpr[T](expr: T, scope: slamdata.Predef.List[Statement[T]]) extends Product with Serializable

    Permalink
  39. final case class Select[A] extends Sql[A] with Product with Serializable

    Permalink
  40. final case class SetLiteral[A] extends Sql[A] with Product with Serializable

    Permalink
  41. final case class Splice[A] extends Sql[A] with Product with Serializable

    Permalink

    Represents the wildcard in a select projection For instance: "select foo.* from example" => ...(Splice(Some(Ident("foo"))))...

    Represents the wildcard in a select projection For instance: "select foo.* from example" => ...(Splice(Some(Ident("foo"))))... "select * from example" => ...(Splice(None))...

  42. sealed abstract class Sql[A] extends AnyRef

    Permalink
  43. sealed abstract class SqlRelation[A] extends slamdata.Predef.Product with slamdata.Predef.Serializable

    Permalink
  44. implicit class SqlStringContext extends AnyRef

    Permalink
  45. sealed abstract class Statement[BODY] extends slamdata.Predef.Product with slamdata.Predef.Serializable

    Permalink
  46. implicit class StatementsOps[A] extends AnyRef

    Permalink
  47. final case class StringLiteral[A] extends Sql[A] with Product with Serializable

    Permalink
  48. final case class Switch[A] extends Sql[A] with Product with Serializable

    Permalink
  49. final case class TableRelationAST[A](tablePath: FUPath, alias: slamdata.Predef.Option[slamdata.Predef.String]) extends NamedRelation[A] with Product with Serializable

    Permalink
  50. sealed abstract class UnaryOperator extends slamdata.Predef.Product with slamdata.Predef.Serializable

    Permalink
  51. final case class Unop[A] extends Sql[A] with Product with Serializable

    Permalink
  52. final case class Vari[A] extends Sql[A] with Product with Serializable

    Permalink
  53. final case class VariRelationAST[A](vari: Vari[A], alias: slamdata.Predef.Option[slamdata.Predef.String]) extends NamedRelation[A] with Product with Serializable

    Permalink

Value Members

  1. object ASC extends OrderType with Product with Serializable

    Permalink
  2. object And extends BinaryOperator with Product with Serializable

    Permalink
  3. object ArrayLiteral extends Serializable

    Permalink
  4. object BinaryOperator extends Serializable

    Permalink
  5. object Binop extends Serializable

    Permalink
  6. object Block extends Serializable

    Permalink
  7. object BoolLiteral extends Serializable

    Permalink
  8. object CIName extends Serializable

    Permalink
  9. object Case extends Serializable

    Permalink
  10. object Concat extends BinaryOperator with Product with Serializable

    Permalink
  11. def CrossRelation[T](left: SqlRelation[T], right: SqlRelation[T])(implicit T: Aux[T, Sql]): JoinRelation[T]

    Permalink
  12. object DESC extends OrderType with Product with Serializable

    Permalink
  13. object Distinct extends UnaryOperator with Product with Serializable

    Permalink
  14. object Div extends BinaryOperator with Product with Serializable

    Permalink
  15. object Eq extends BinaryOperator with Product with Serializable

    Permalink
  16. object Except extends BinaryOperator with Product with Serializable

    Permalink
  17. object Exists extends UnaryOperator with Product with Serializable

    Permalink
  18. object ExprRelationAST extends Serializable

    Permalink
  19. object FlattenArrayIndices extends UnaryOperator with Product with Serializable

    Permalink
  20. object FlattenArrayValues extends UnaryOperator with Product with Serializable

    Permalink
  21. object FlattenMapKeys extends UnaryOperator with Product with Serializable

    Permalink
  22. object FlattenMapValues extends UnaryOperator with Product with Serializable

    Permalink
  23. object FloatLiteral extends Serializable

    Permalink
  24. object FunctionDecl extends Serializable

    Permalink
  25. object Ge extends BinaryOperator with Product with Serializable

    Permalink
  26. object GroupBy extends Serializable

    Permalink
  27. object Gt extends BinaryOperator with Product with Serializable

    Permalink
  28. object Ident extends Serializable

    Permalink
  29. object IdentRelationAST extends Serializable

    Permalink
  30. object IfUndefined extends BinaryOperator with Product with Serializable

    Permalink
  31. object Import extends Serializable

    Permalink
  32. object In extends BinaryOperator with Product with Serializable

    Permalink
  33. object IndexDeref extends BinaryOperator with Product with Serializable

    Permalink
  34. object IntLiteral extends Serializable

    Permalink
  35. object Intersect extends BinaryOperator with Product with Serializable

    Permalink
  36. object IntersectAll extends BinaryOperator with Product with Serializable

    Permalink
  37. object InvokeFunction extends Serializable

    Permalink
  38. object IsDistinct extends Serializable

    Permalink
  39. object JoinDir

    Permalink
  40. object JoinRelation extends Serializable

    Permalink
  41. object KeyDeref extends BinaryOperator with Product with Serializable

    Permalink
  42. object Le extends BinaryOperator with Product with Serializable

    Permalink
  43. object Let extends Serializable

    Permalink
  44. object Limit extends BinaryOperator with Product with Serializable

    Permalink
  45. object Lt extends BinaryOperator with Product with Serializable

    Permalink
  46. object MapLiteral extends Serializable

    Permalink
  47. object Match extends Serializable

    Permalink
  48. object Minus extends BinaryOperator with Product with Serializable

    Permalink
  49. object Mod extends BinaryOperator with Product with Serializable

    Permalink
  50. object Mult extends BinaryOperator with Product with Serializable

    Permalink
  51. object Negative extends UnaryOperator with Product with Serializable

    Permalink
  52. object Neq extends BinaryOperator with Product with Serializable

    Permalink
  53. object Not extends UnaryOperator with Product with Serializable

    Permalink
  54. object NullLiteral extends Serializable

    Permalink
  55. object Offset extends BinaryOperator with Product with Serializable

    Permalink
  56. object Or extends BinaryOperator with Product with Serializable

    Permalink
  57. object OrderBy extends Serializable

    Permalink
  58. object OrderType extends Serializable

    Permalink
  59. object ParsingError

    Permalink
  60. object Plus extends BinaryOperator with Product with Serializable

    Permalink
  61. object Positive extends UnaryOperator with Product with Serializable

    Permalink
  62. object Pow extends BinaryOperator with Product with Serializable

    Permalink
  63. object Proj extends Serializable

    Permalink
  64. object Range extends BinaryOperator with Product with Serializable

    Permalink
  65. object Sample extends BinaryOperator with Product with Serializable

    Permalink
  66. object ScopedExpr extends Serializable

    Permalink
  67. object Select extends Serializable

    Permalink
  68. object SelectAll extends IsDistinct with Product with Serializable

    Permalink
  69. object SelectDistinct extends IsDistinct with Product with Serializable

    Permalink
  70. object SetLiteral extends Serializable

    Permalink
  71. object ShiftArrayIndices extends UnaryOperator with Product with Serializable

    Permalink
  72. object ShiftArrayValues extends UnaryOperator with Product with Serializable

    Permalink
  73. object ShiftMapKeys extends UnaryOperator with Product with Serializable

    Permalink
  74. object ShiftMapValues extends UnaryOperator with Product with Serializable

    Permalink
  75. object Splice extends Serializable

    Permalink
  76. object Sql

    Permalink
  77. object SqlInterpolator

    Permalink
  78. object SqlRelation extends Serializable

    Permalink
  79. object Statement extends Serializable

    Permalink
  80. object StringLiteral extends Serializable

    Permalink
  81. object Switch extends Serializable

    Permalink
  82. object TableRelationAST extends Serializable

    Permalink
  83. object UnaryOperator extends Serializable

    Permalink
  84. object Union extends BinaryOperator with Product with Serializable

    Permalink
  85. object UnionAll extends BinaryOperator with Product with Serializable

    Permalink
  86. object Unop extends Serializable

    Permalink
  87. object UnshiftArray extends UnaryOperator with Product with Serializable

    Permalink
  88. object UnshiftMap extends BinaryOperator with Product with Serializable

    Permalink
  89. object Vari extends Serializable

    Permalink
  90. object VariRelationAST extends Serializable

    Permalink
  91. def arrayLiteral[A]: Prism[Sql[A], slamdata.Predef.List[A]]

    Permalink
  92. def binop[A]: Prism[Sql[A], (A, A, BinaryOperator)]

    Permalink
  93. def boolLiteral[A]: Prism[Sql[A], slamdata.Predef.Boolean]

    Permalink
  94. val fixParser: SQLParser[Fix]

    Permalink
  95. def floatLiteral[A]: Prism[Sql[A], slamdata.Predef.Double]

    Permalink
  96. def ident[A]: Prism[Sql[A], slamdata.Predef.String]

    Permalink
  97. def intLiteral[A]: Prism[Sql[A], slamdata.Predef.Long]

    Permalink
  98. def invokeFunction[A]: Prism[Sql[A], (CIName, slamdata.Predef.List[A])]

    Permalink
  99. def let[A]: Prism[Sql[A], (CIName, A, A)]

    Permalink
  100. def mapLiteral[A]: Prism[Sql[A], slamdata.Predef.List[(A, A)]]

    Permalink
  101. def mapPathsMƒ[F[_]](f: (FUPath) ⇒ F[FUPath])(implicit arg0: Monad[F]): ~>[Sql, [A]F[Sql[A]]]

    Permalink
  102. def matc[A]: Prism[Sql[A], (A, slamdata.Predef.List[Case[A]], slamdata.Predef.Option[A])]

    Permalink
  103. def normalizeƒ[T](implicit T: Aux[T, Sql]): (Sql[T]) ⇒ slamdata.Predef.Option[Sql[T]]

    Permalink
  104. def nullLiteral[A]: Prism[Sql[A], slamdata.Predef.Unit]

    Permalink
  105. def parser[T[_[_]]](implicit arg0: BirecursiveT[T]): SQLParser[T]

    Permalink
  106. def pprint[T](sql: T)(implicit T: Aux[T, Sql]): slamdata.Predef.String

    Permalink
  107. def pprintRelation[T](r: SqlRelation[T])(implicit T: Aux[T, Sql]): slamdata.Predef.String

    Permalink
  108. def pprintƒ[T](implicit T: Aux[T, Sql]): (Sql[(T, slamdata.Predef.String)]) ⇒ slamdata.Predef.String

    Permalink
  109. def projectionName[T](expr: T, relationName: slamdata.Predef.Option[slamdata.Predef.String])(implicit T: Aux[T, Sql]): slamdata.Predef.Option[slamdata.Predef.String]

    Permalink

    Returns the name of the expression when viewed as a projection (of the optional relation), if available.

  110. def projectionNames[T](projections: slamdata.Predef.List[Proj[T]], relName: slamdata.Predef.Option[slamdata.Predef.String])(implicit T: Aux[T, Sql]): \/[SemanticError, slamdata.Predef.List[(slamdata.Predef.String, T)]]

    Permalink
  111. def resolveImportsImpl[M[_], T[_[_]]](scopedExpr: ScopedExpr[T[Sql]], baseDir: ADir, retrieve: (ADir) ⇒ M[slamdata.Predef.List[Statement[T[Sql]]]])(implicit arg0: Monad[M], arg1: BirecursiveT[T]): EitherT[M, SemanticError, T[Sql]]

    Permalink
  112. def select[A]: Prism[Sql[A], (IsDistinct, slamdata.Predef.List[Proj[A]], slamdata.Predef.Option[SqlRelation[A]], slamdata.Predef.Option[A], slamdata.Predef.Option[GroupBy[A]], slamdata.Predef.Option[OrderBy[A]])]

    Permalink
  113. def setLiteral[A]: Prism[Sql[A], slamdata.Predef.List[A]]

    Permalink
  114. def splice[A]: Prism[Sql[A], slamdata.Predef.Option[A]]

    Permalink
  115. def stringLiteral[A]: Prism[Sql[A], slamdata.Predef.String]

    Permalink
  116. def switch[A]: Prism[Sql[A], (slamdata.Predef.List[Case[A]], slamdata.Predef.Option[A])]

    Permalink
  117. def traverseRelation[G[_], A, B](r: SqlRelation[A], f: (A) ⇒ G[B])(implicit G: Applicative[G]): G[SqlRelation[B]]

    Permalink
    Annotations
    @SuppressWarnings()
  118. def unop[A]: Prism[Sql[A], (A, UnaryOperator)]

    Permalink
  119. def vari[A]: Prism[Sql[A], slamdata.Predef.String]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped