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. Protected

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) extends Query.PrimitiveExpr with Product with Serializable
  10. case class ConstExpr(value: Any) extends Query.BaseExpr with Product with Serializable

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

  11. case class DeleteExpr(table: Query.IdentExpr, alias: String, filter: List[Expr], using: Expr, returning: Option[Query.ColsExpr]) extends Query.BaseExpr with Product with Serializable
  12. case class FunAsTableExpr(expr: Expr, colsDefs: Option[List[Query.TableColDefExpr]], withOrdinality: Boolean) extends Query.PrimitiveExpr with Product with Serializable
  13. 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
  14. case class Group(groupExprs: List[Expr], having: Expr) extends Query.PrimitiveExpr with Product with Serializable
  15. case class HiddenColRefExpr(expr: Expr, resType: Class[_]) extends Query.PrimitiveExpr with Product with Serializable
  16. case class IdExpr(seqName: String) extends Query.BaseVarExpr with Product with Serializable
  17. case class IdRefExpr(seqName: String) extends Query.BaseVarExpr with Product with Serializable
  18. case class IdentAllExpr(name: List[String]) extends Query.PrimitiveExpr with Product with Serializable
  19. case class IdentExpr(name: List[String]) extends Query.PrimitiveExpr with Product with Serializable
  20. case class InExpr(lop: Expr, rop: List[Expr], not: Boolean) extends Query.BaseExpr with Product with Serializable
  21. class InsertExpr extends Query.DeleteExpr
  22. case class Order(ordExprs: List[(Expr, Expr, Expr)]) extends Query.PrimitiveExpr with Product with Serializable
  23. abstract class PrimitiveExpr extends Expr
  24. case class RecursiveExpr(exp: parsing.Query) extends Query.BaseExpr with Product with Serializable
  25. class RegisteredBindVariables extends AnyRef
  26. case class ResExpr(nr: Int, col: Any) extends Query.BaseVarExpr with Product with Serializable
  27. case class SQLConcatExpr(expr: Expr*) extends Query.BaseExpr with Product with Serializable
  28. case class SQLExpr(sqlSnippet: String, bindVars: List[Query.VarExpr]) extends Query.PrimitiveExpr with Product with Serializable
  29. case class SelectExpr(tables: List[Query.Table], filter: Expr, cols: Query.ColsExpr, distinct: Boolean, group: Expr, order: Expr, offset: Expr, limit: Expr, aliases: Map[String, Query.Table], parentJoin: Option[Expr]) extends Query.BaseExpr with Product with Serializable
  30. case class Table(table: Expr, alias: String, join: Query.TableJoin, outerJoin: String, nullable: Boolean, schema: String) extends Query.PrimitiveExpr with Product with Serializable
  31. case class TableColDefExpr(name: String, typ: Option[String]) extends Query.PrimitiveExpr with Product with Serializable
  32. case class TableJoin(default: Boolean, expr: Expr, noJoin: Boolean, defaultJoinCols: (key_, key_)) extends Query.PrimitiveExpr with Product with Serializable
  33. case class UnExpr(op: String, operand: Expr) extends Query.BaseExpr with Product with Serializable
  34. class UpdateExpr extends Query.DeleteExpr
  35. case class ValuesExpr(vals: List[Expr]) extends Query.PrimitiveExpr with Product with Serializable
  36. case class ValuesFromSelectExpr(select: Query.SelectExpr) extends Query.PrimitiveExpr with Product with Serializable
  37. case class VarExpr(name: String, members: List[String], opt: Boolean) extends Query.BaseVarExpr with Product with Serializable
  38. case class WithBinExpr(tables: List[Query.WithTableExpr], query: Query.BinExpr) extends Query.BaseExpr with Query.WithExpr with Product with Serializable
  39. class WithDeleteExpr extends Query.DeleteExpr with Query.WithExpr
  40. trait WithExpr extends Query.BaseExpr
  41. class WithInsertExpr extends Query.InsertExpr with Query.WithExpr
  42. case class WithSelectExpr(tables: List[Query.WithTableExpr], query: Query.SelectExpr) extends Query.BaseExpr with Query.WithExpr with Product with Serializable
  43. case class WithTableExpr(name: String, cols: List[String], recursive: Boolean, query: Expr) extends Query.PrimitiveExpr with Product with Serializable
  44. class WithUpdateExpr extends Query.UpdateExpr with Query.WithExpr
  45. trait Def extends AnyRef
    Definition Classes
    Typer
  46. case class SelectDef(tables: List[QueryBuilder.Def], alias: String) extends QueryBuilder.Def with Product with Serializable
    Definition Classes
    Typer
  47. case class TableDef(name: String, alias: String) extends QueryBuilder.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. val OPTIONAL_OPERAND_BIN_OPS: Set[String]
  5. val STANDART_BIN_OPS: Set[String]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def buildExpr(ex: Exp): Expr
  8. def buildExpr(ex: String): Expr
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. val ctxStack: List[Ctx]
    Attributes
    protected
  11. def defs(tables: List[Query.Table]): List[Query.Def]
    Definition Classes
    Typer
  12. def env: Env
    Definition Classes
    QueryBuilder → EnvProvider
  13. def envId(): String
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def findAliasByName(name: String): Option[String]
    Definition Classes
    Typer
  18. def findJoin(table: String): Option[((key_, key_), String)]
    Definition Classes
    Typer
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def headDef: Query.Def
    Definition Classes
    Typer
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. lazy val joinsWithChildrenColExprs: Set[Query.ColExpr]
  24. def lastDef: Query.Def
    Definition Classes
    Typer
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def printBuilderChain: Unit
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val tableDefs: List[Query.Def]
    Attributes
    protected
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def transform(expr: Expr, f: PartialFunction[Expr, Expr]): Expr
    Definition Classes
    Transformer
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Typer

Inherited from Transformer

Inherited from EnvProvider

Inherited from AnyRef

Inherited from Any

Ungrouped