t

org.tresql

QueryBuilder

trait QueryBuilder extends EnvProvider with Transformer with Typer

Self Type
Query
Linear Supertypes
Typer, Transformer, EnvProvider, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryBuilder
  2. Typer
  3. Transformer
  4. EnvProvider
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AllExpr() extends Query.PrimitiveExpr with Product with Serializable
  2. case class ArrExpr(elements: List[Expr]) extends Query.BaseExpr with Product with Serializable
  3. abstract class BaseExpr extends Query.PrimitiveExpr
  4. class BaseVarExpr extends Query.BaseExpr
  5. case class BinExpr(op: String, lop: Expr, rop: Expr) extends Query.BaseExpr with Product with Serializable
  6. case class BracesExpr(expr: Expr) extends Query.BaseExpr with Product with Serializable
  7. case class CastExpr(exp: Expr, typ: String) extends Query.BaseExpr with Product with Serializable
  8. case class ColExpr(col: Expr, alias: String, sepQuery: Option[Boolean] = None, hidden: Boolean = false) extends Query.PrimitiveExpr with Product with Serializable
  9. case class ColsExpr(cols: List[Query.ColExpr], hasAll: Boolean, hasIdentAll: Boolean, hasHidden: Boolean, macroEliminatedIdxs: Set[Int] = Set()) extends Query.PrimitiveExpr with Product with Serializable
  10. case class ConstExpr(value: Any) extends Query.BaseExpr with Product with Serializable

    **************************************************************************

  11. case class DeferredBuildPlaceholderExpr(exp: Exp) extends Query.PrimitiveExpr with Product with Serializable
  12. case class DeleteExpr(table: Query.IdentExpr, alias: String, filter: List[Expr], using: Expr, returning: Option[Query.ColsExpr]) extends Query.BaseExpr with Product with Serializable
  13. case class DistinctExpr(on: List[Expr]) extends Query.PrimitiveExpr with Product with Serializable
  14. case class FunAsTableExpr(expr: Expr, colsDefs: Option[Query.TableColDefsExpr], withOrdinality: Boolean) extends Query.PrimitiveExpr with Product with Serializable
  15. case class FunExpr(name: String, params: List[Expr], distinct: Boolean = false, aggregateOrder: Option[Expr] = None, aggregateWhere: Option[Expr] = None) extends Query.BaseExpr with Product with Serializable
  16. case class Group(groupExprs: List[Expr], having: Expr) extends Query.PrimitiveExpr with Product with Serializable
  17. case class HiddenColRefExpr(expr: Expr, resType: Class[_]) extends Query.PrimitiveExpr with Product with Serializable
  18. case class IdExpr(seqName: String) extends Query.BaseVarExpr with Product with Serializable
  19. case class IdRefExpr(seqName: String) extends Query.BaseVarExpr with Product with Serializable
  20. case class IdentAllExpr(name: List[String]) extends Query.PrimitiveExpr with Product with Serializable
  21. case class IdentExpr(name: List[String]) extends Query.PrimitiveExpr with Product with Serializable
  22. case class InExpr(lop: Expr, rop: List[Expr], not: Boolean) extends Query.BaseExpr with Product with Serializable
  23. case class InsertConflictExpr(target: List[Expr], targetFilter: Expr, cols: List[Expr], vals: Expr, filter: Expr, valuesAlias: String, valuesCols: Query.TableColDefsExpr) extends Query.PrimitiveExpr with Product with Serializable
  24. class InsertExpr extends Query.DeleteExpr
  25. case class Order(ordExprs: List[(Expr, Expr, Expr)]) extends Query.PrimitiveExpr with Product with Serializable
  26. abstract class PrimitiveExpr extends Expr
  27. case class RecursiveExpr(exp: ast.Query) extends Query.BaseExpr with Product with Serializable
  28. class RegisteredBindVariables extends AnyRef
  29. case class ResExpr(nr: Int, col: Exp) extends Query.BaseVarExpr with Product with Serializable
  30. case class SQLConcatExpr(expr: Expr*) extends Query.BaseExpr with Product with Serializable
  31. case class SQLExpr(sqlSnippet: String, bindVars: List[Query.VarExpr]) extends Query.PrimitiveExpr with Product with Serializable
  32. case class SQLVendorExpr() extends Query.PrimitiveExpr with Product with Serializable
  33. case class SelectExpr(tables: List[Query.Table], filter: Expr, cols: Query.ColsExpr, distinct: Query.DistinctExpr, group: Expr, order: Expr, offset: Expr, limit: Expr, aliases: Map[String, Query.Table], parentJoin: Option[Expr]) extends Query.BaseExpr with Product with Serializable
  34. case class Table(table: Expr, alias: String, join: Query.TableJoin, outerJoin: String, nullable: Boolean, schema: String) extends Query.PrimitiveExpr with Product with Serializable
  35. case class TableColDefExpr(name: String, typ: Option[String]) extends Query.PrimitiveExpr with Product with Serializable
  36. case class TableColDefsExpr(cols: List[Query.TableColDefExpr]) extends Query.PrimitiveExpr with Product with Serializable
  37. case class TableJoin(default: Boolean, expr: Expr, noJoin: Boolean, defaultJoinCols: (key_, key_)) extends Query.PrimitiveExpr with Product with Serializable
  38. case class TransformerExpr(transformer: PartialFunction[Expr, Expr]) extends Query.PrimitiveExpr with Product with Serializable

    This expr type can be returned from macro, transformer will be executed at the end of build, so it can transform entire expression.

  39. case class UnExpr(op: String, operand: Expr) extends Query.BaseExpr with Product with Serializable
  40. class UpdateExpr extends Query.DeleteExpr
  41. case class ValuesExpr(vals: List[Expr]) extends Query.PrimitiveExpr with Product with Serializable
  42. case class ValuesFromSelectExpr(select: Query.SelectExpr) extends Query.PrimitiveExpr with Product with Serializable
  43. case class VarExpr(name: String, members: List[String], opt: Boolean, allowArrBind: Boolean) extends Query.BaseVarExpr with Product with Serializable
  44. case class WithBinExpr(tables: List[Query.WithTableExpr], query: Query.BinExpr) extends Query.BaseExpr with Query.WithExpr with Product with Serializable
  45. class WithDeleteExpr extends Query.DeleteExpr with Query.WithExpr
  46. trait WithExpr extends Query.BaseExpr
  47. class WithInsertExpr extends Query.InsertExpr with Query.WithExpr
  48. case class WithSelectExpr(tables: List[Query.WithTableExpr], query: Query.SelectExpr) extends Query.BaseExpr with Query.WithExpr with Product with Serializable
  49. case class WithTableExpr(name: String, cols: List[String], recursive: Boolean, query: Expr) extends Query.PrimitiveExpr with Product with Serializable
  50. class WithUpdateExpr extends Query.UpdateExpr with Query.WithExpr
  51. trait Def extends AnyRef
    Definition Classes
    Typer
  52. case class SelectDef(tables: List[Query.Def], alias: String) extends Query.Def with Product with Serializable
    Definition Classes
    Typer
  53. case class TableDef(name: String, alias: String) extends Query.Def with Product with Serializable
    Definition Classes
    Typer

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildExpr(ex: Exp): Expr
  6. def buildExpr(ex: String): Expr
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. val ctxStack: List[Ctx]
    Attributes
    protected
  9. def defs(tables: List[Query.Table]): List[Query.Def]
    Definition Classes
    Typer
  10. def env: Env
    Definition Classes
    QueryBuilder → EnvProvider
  11. def envId(): String
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def findAliasByName(name: String): Option[String]
    Definition Classes
    Typer
  15. def findJoin(table: String): Option[((key_, key_), String)]
    Definition Classes
    Typer
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def headDef: Query.Def
    Definition Classes
    Typer
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. lazy val joinsWithChildrenColExprs: Set[Query.ColExpr]
  21. def lastDef: Query.Def
    Definition Classes
    Typer
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def printBuilderChain: Unit
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. val tableDefs: List[Query.Def]
    Attributes
    protected
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def transform(expr: Expr, f: PartialFunction[Expr, Expr]): Expr
    Definition Classes
    Transformer
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Typer

Inherited from Transformer

Inherited from EnvProvider

Inherited from AnyRef

Inherited from Any

Ungrouped