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
  2. final case class ArrayLiteral[A] extends Sql[A] with Product with Serializable
  3. sealed abstract class BinaryOperator extends slamdata.Predef.Product with slamdata.Predef.Serializable
  4. final case class Binop[A] extends Sql[A] with Product with Serializable
  5. final case class Block[T](expr: T, defs: slamdata.Predef.List[FunctionDecl[T]]) extends Product with Serializable
  6. final case class BoolLiteral[A] extends Sql[A] with Product with Serializable
  7. final case class CIName(value: slamdata.Predef.String) extends Product with Serializable
  8. final case class Case[A](cond: A, expr: A) extends Product with Serializable
  9. sealed abstract class DerefType[T[_[_]]] extends slamdata.Predef.Product with slamdata.Predef.Serializable
  10. final case class DimChange[T[_[_]]](unop: UnaryOperator) extends DerefType[T] with Product with Serializable
  11. implicit class ExprOps[T[_[_]]] extends AnyRef
  12. final case class ExprRelationAST[A](expr: A, alias: slamdata.Predef.Option[slamdata.Predef.String]) extends NamedRelation[A] with Product with Serializable
  13. type FUPath = Path[_, File, Unsandboxed]
  14. final case class FloatLiteral[A] extends Sql[A] with Product with Serializable
  15. final case class FunctionDecl[BODY](name: CIName, args: slamdata.Predef.List[CIName], body: BODY) extends Statement[BODY] with Product with Serializable
  16. final case class GenericParsingError(message: slamdata.Predef.String) extends ParsingError with Product with Serializable
  17. final case class GroupBy[A](keys: slamdata.Predef.List[A], having: slamdata.Predef.Option[A]) extends Product with Serializable
  18. final case class Ident[A] extends Sql[A] with Product with Serializable
  19. final case class IdentRelationAST[A](name: slamdata.Predef.String, alias: slamdata.Predef.Option[slamdata.Predef.String]) extends NamedRelation[A] with Product with Serializable

    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
  21. final case class IntLiteral[A] extends Sql[A] with Product with Serializable
  22. final case class InvokeFunction[A] extends Sql[A] with Product with Serializable
  23. sealed abstract class IsDistinct extends slamdata.Predef.Product with slamdata.Predef.Serializable
  24. sealed abstract class JoinDir extends AnyRef
  25. final case class JoinRelation[A](left: SqlRelation[A], right: SqlRelation[A], tpe: JoinType, clause: A) extends SqlRelation[A] with Product with Serializable
  26. final case class Let[A](ident: CIName, bindTo: A, in: A) extends Sql[A] with Product with Serializable
  27. final case class MapDeref[T[_[_]]](expr: T[Sql]) extends DerefType[T] with Product with Serializable
  28. final case class MapLiteral[A] extends Sql[A] with Product with Serializable

    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
  30. sealed abstract class NamedRelation[A] extends SqlRelation[A]
  31. final case class NullLiteral[A] extends Sql[A] with Product with Serializable
  32. final case class OrderBy[A](keys: NonEmptyList[(OrderType, A)]) extends Product with Serializable
  33. sealed abstract class OrderType extends slamdata.Predef.Product with slamdata.Predef.Serializable
  34. sealed abstract class ParsingError extends AnyRef
  35. final case class ParsingPathError(error: PathError) extends ParsingError with Product with Serializable
  36. final case class Proj[A](expr: A, alias: slamdata.Predef.Option[slamdata.Predef.String]) extends Product with Serializable
  37. final case class Query(value: slamdata.Predef.String) extends Product with Serializable
  38. final case class ScopedExpr[T](expr: T, scope: slamdata.Predef.List[Statement[T]]) extends Product with Serializable
  39. final case class Select[A] extends Sql[A] with Product with Serializable
  40. final case class SetLiteral[A] extends Sql[A] with Product with Serializable
  41. final case class Splice[A] extends Sql[A] with Product with Serializable

    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
  43. sealed abstract class SqlRelation[A] extends slamdata.Predef.Product with slamdata.Predef.Serializable
  44. implicit class SqlStringContext extends AnyRef
  45. sealed abstract class Statement[BODY] extends slamdata.Predef.Product with slamdata.Predef.Serializable
  46. implicit class StatementsOps[A] extends AnyRef
  47. final case class StringLiteral[A] extends Sql[A] with Product with Serializable
  48. final case class Switch[A] extends Sql[A] with Product with Serializable
  49. final case class TableRelationAST[A](tablePath: FUPath, alias: slamdata.Predef.Option[slamdata.Predef.String]) extends NamedRelation[A] with Product with Serializable
  50. sealed abstract class UnaryOperator extends slamdata.Predef.Product with slamdata.Predef.Serializable
  51. final case class Unop[A] extends Sql[A] with Product with Serializable
  52. final case class Vari[A] extends Sql[A] with Product with Serializable
  53. final case class VariRelationAST[A](vari: Vari[A], alias: slamdata.Predef.Option[slamdata.Predef.String]) extends NamedRelation[A] with Product with Serializable

Value Members

  1. def CrossRelation[T](left: SqlRelation[T], right: SqlRelation[T])(implicit T: Aux[T, Sql]): JoinRelation[T]
  2. def arrayLiteral[A]: Prism[Sql[A], slamdata.Predef.List[A]]
  3. def binop[A]: Prism[Sql[A], (A, A, BinaryOperator)]
  4. def boolLiteral[A]: Prism[Sql[A], slamdata.Predef.Boolean]
  5. val fixParser: SQLParser[Fix]
  6. def floatLiteral[A]: Prism[Sql[A], slamdata.Predef.Double]
  7. def ident[A]: Prism[Sql[A], slamdata.Predef.String]
  8. def intLiteral[A]: Prism[Sql[A], slamdata.Predef.Long]
  9. def invokeFunction[A]: Prism[Sql[A], (CIName, slamdata.Predef.List[A])]
  10. def let[A]: Prism[Sql[A], (CIName, A, A)]
  11. def mapLiteral[A]: Prism[Sql[A], slamdata.Predef.List[(A, A)]]
  12. def mapPathsMƒ[F[_]](f: (FUPath) ⇒ F[FUPath])(implicit arg0: Monad[F]): ~>[Sql, [A]F[Sql[A]]]
  13. def matc[A]: Prism[Sql[A], (A, slamdata.Predef.List[Case[A]], slamdata.Predef.Option[A])]
  14. def normalizeƒ[T](implicit T: Aux[T, Sql]): (Sql[T]) ⇒ slamdata.Predef.Option[Sql[T]]
  15. def nullLiteral[A]: Prism[Sql[A], slamdata.Predef.Unit]
  16. def parser[T[_[_]]](implicit arg0: BirecursiveT[T]): SQLParser[T]
  17. def pprint[T](sql: T)(implicit T: Aux[T, Sql]): slamdata.Predef.String
  18. def pprintRelation[T](r: SqlRelation[T])(implicit T: Aux[T, Sql]): slamdata.Predef.String
  19. def pprintƒ[T](implicit T: Aux[T, Sql]): (Sql[(T, slamdata.Predef.String)]) ⇒ slamdata.Predef.String
  20. def projectionName[T](expr: T, relationName: slamdata.Predef.Option[slamdata.Predef.String])(implicit T: Aux[T, Sql]): slamdata.Predef.Option[slamdata.Predef.String]

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

  21. 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)]]
  22. 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]]
  23. 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]])]
  24. def setLiteral[A]: Prism[Sql[A], slamdata.Predef.List[A]]
  25. def splice[A]: Prism[Sql[A], slamdata.Predef.Option[A]]
  26. def stringLiteral[A]: Prism[Sql[A], slamdata.Predef.String]
  27. def switch[A]: Prism[Sql[A], (slamdata.Predef.List[Case[A]], slamdata.Predef.Option[A])]
  28. def traverseRelation[G[_], A, B](r: SqlRelation[A], f: (A) ⇒ G[B])(implicit G: Applicative[G]): G[SqlRelation[B]]
    Annotations
    @SuppressWarnings()
  29. def unop[A]: Prism[Sql[A], (A, UnaryOperator)]
  30. def vari[A]: Prism[Sql[A], slamdata.Predef.String]
  31. object ASC extends OrderType with Product with Serializable
  32. object And extends BinaryOperator with Product with Serializable
  33. object ArrayLiteral extends Serializable
  34. object BinaryOperator extends Serializable
  35. object Binop extends Serializable
  36. object Block extends Serializable
  37. object BoolLiteral extends Serializable
  38. object CIName extends Serializable
  39. object Case extends Serializable
  40. object Concat extends BinaryOperator with Product with Serializable
  41. object DESC extends OrderType with Product with Serializable
  42. object Distinct extends UnaryOperator with Product with Serializable
  43. object Div extends BinaryOperator with Product with Serializable
  44. object Eq extends BinaryOperator with Product with Serializable
  45. object Except extends BinaryOperator with Product with Serializable
  46. object Exists extends UnaryOperator with Product with Serializable
  47. object ExprRelationAST extends Serializable
  48. object FlattenArrayIndices extends UnaryOperator with Product with Serializable
  49. object FlattenArrayValues extends UnaryOperator with Product with Serializable
  50. object FlattenMapKeys extends UnaryOperator with Product with Serializable
  51. object FlattenMapValues extends UnaryOperator with Product with Serializable
  52. object FloatLiteral extends Serializable
  53. object FunctionDecl extends Serializable
  54. object Ge extends BinaryOperator with Product with Serializable
  55. object GroupBy extends Serializable
  56. object Gt extends BinaryOperator with Product with Serializable
  57. object Ident extends Serializable
  58. object IdentRelationAST extends Serializable
  59. object IfUndefined extends BinaryOperator with Product with Serializable
  60. object Import extends Serializable
  61. object In extends BinaryOperator with Product with Serializable
  62. object IndexDeref extends BinaryOperator with Product with Serializable
  63. object IntLiteral extends Serializable
  64. object Intersect extends BinaryOperator with Product with Serializable
  65. object IntersectAll extends BinaryOperator with Product with Serializable
  66. object InvokeFunction extends Serializable
  67. object IsDistinct extends Serializable
  68. object JoinDir
  69. object JoinRelation extends Serializable
  70. object KeyDeref extends BinaryOperator with Product with Serializable
  71. object Le extends BinaryOperator with Product with Serializable
  72. object Let extends Serializable
  73. object Limit extends BinaryOperator with Product with Serializable
  74. object Lt extends BinaryOperator with Product with Serializable
  75. object MapLiteral extends Serializable
  76. object Match extends Serializable
  77. object Minus extends BinaryOperator with Product with Serializable
  78. object Mod extends BinaryOperator with Product with Serializable
  79. object Mult extends BinaryOperator with Product with Serializable
  80. object Negative extends UnaryOperator with Product with Serializable
  81. object Neq extends BinaryOperator with Product with Serializable
  82. object Not extends UnaryOperator with Product with Serializable
  83. object NullLiteral extends Serializable
  84. object Offset extends BinaryOperator with Product with Serializable
  85. object Or extends BinaryOperator with Product with Serializable
  86. object OrderBy extends Serializable
  87. object OrderType extends Serializable
  88. object ParsingError
  89. object Plus extends BinaryOperator with Product with Serializable
  90. object Positive extends UnaryOperator with Product with Serializable
  91. object Pow extends BinaryOperator with Product with Serializable
  92. object Proj extends Serializable
  93. object Range extends BinaryOperator with Product with Serializable
  94. object Sample extends BinaryOperator with Product with Serializable
  95. object ScopedExpr extends Serializable
  96. object Select extends Serializable
  97. object SelectAll extends IsDistinct with Product with Serializable
  98. object SelectDistinct extends IsDistinct with Product with Serializable
  99. object SetLiteral extends Serializable
  100. object ShiftArrayIndices extends UnaryOperator with Product with Serializable
  101. object ShiftArrayValues extends UnaryOperator with Product with Serializable
  102. object ShiftMapKeys extends UnaryOperator with Product with Serializable
  103. object ShiftMapValues extends UnaryOperator with Product with Serializable
  104. object Splice extends Serializable
  105. object Sql
  106. object SqlInterpolator
  107. object SqlRelation extends Serializable
  108. object Statement extends Serializable
  109. object StringLiteral extends Serializable
  110. object Switch extends Serializable
  111. object TableRelationAST extends Serializable
  112. object UnaryOperator extends Serializable
  113. object Union extends BinaryOperator with Product with Serializable
  114. object UnionAll extends BinaryOperator with Product with Serializable
  115. object Unop extends Serializable
  116. object UnshiftArray extends UnaryOperator with Product with Serializable
  117. object UnshiftMap extends BinaryOperator with Product with Serializable
  118. object Vari extends Serializable
  119. object VariRelationAST extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped