org.tresql

QueryBuilder

trait QueryBuilder extends EnvProvider with Transformer with Typer

Self Type
Query
Linear Supertypes
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
Learn more about member selection
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 ColExpr(col: Expr, alias: String, typ: String, sepQuery: Option[Boolean] = scala.None, hidden: Boolean = false) extends Query.PrimitiveExpr with Product with Serializable

  8. case class ConstExpr(value: Any) extends Query.BaseExpr with Product with Serializable

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

  9. trait Def extends AnyRef

    Definition Classes
    Typer
  10. case class DeleteExpr(table: Query.IdentExpr, alias: String, filter: List[Expr]) extends Query.BaseExpr with Product with Serializable

  11. case class ExternalFunExpr(name: String, params: List[Expr], method: Method) extends Query.BaseExpr with Product with Serializable

  12. case class FunExpr(name: String, params: List[Expr], distinct: Boolean = false) extends Query.BaseExpr with Product with Serializable

  13. case class Group(groupExprs: List[Expr], having: Expr) extends Query.PrimitiveExpr with Product with Serializable

  14. case class HiddenColRefExpr(expr: Expr, resType: Class[_]) extends Query.PrimitiveExpr with Product with Serializable

  15. case class IdExpr(seqName: String) extends Query.BaseVarExpr with Product with Serializable

  16. case class IdRefExpr(seqName: String) extends Query.BaseVarExpr with Product with Serializable

  17. case class IdentAllExpr(name: List[String]) extends Query.PrimitiveExpr with Product with Serializable

  18. case class IdentExpr(name: List[String]) extends Query.PrimitiveExpr with Product with Serializable

  19. case class InExpr(lop: Expr, rop: List[Expr], not: Boolean) extends Query.BaseExpr with Product with Serializable

  20. class InsertExpr extends Query.DeleteExpr

  21. case class Order(ordExprs: List[(Expr, Expr, Expr)]) extends Query.PrimitiveExpr with Product with Serializable

  22. abstract class PrimitiveExpr extends Expr

  23. case class RecursiveExpr(exp: QueryParser.Query) extends Query.BaseExpr with Product with Serializable

  24. case class ResExpr(nr: Int, col: Any) extends Query.BaseVarExpr with Product with Serializable

  25. case class SQLConcatExpr(expr: Expr*) extends Query.BaseExpr with Product with Serializable

  26. case class SQLExpr(sqlSnippet: String, bindVars: List[Query.VarExpr]) extends Query.PrimitiveExpr with Product with Serializable

  27. case class SelectDef(tables: List[QueryBuilder.Def], alias: String) extends QueryBuilder.Def with Product with Serializable

    Definition Classes
    Typer
  28. case class SelectExpr(tables: List[Query.Table], filter: Expr, cols: List[Query.ColExpr], 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

  29. case class Table(table: Expr, alias: String, join: Query.TableJoin, outerJoin: String, nullable: Boolean) extends Query.PrimitiveExpr with Product with Serializable

  30. case class TableDef(name: String, alias: String) extends QueryBuilder.Def with Product with Serializable

    Definition Classes
    Typer
  31. case class TableJoin(default: Boolean, expr: Expr, noJoin: Boolean, defaultJoinCols: (key_, key_)) extends Query.PrimitiveExpr with Product with Serializable

  32. case class UnExpr(op: String, operand: Expr) extends Query.BaseExpr with Product with Serializable

  33. class UpdateExpr extends Query.DeleteExpr

  34. case class ValuesExpr(vals: List[Expr]) extends Query.PrimitiveExpr with Product with Serializable

  35. case class VarExpr(name: String, members: List[String], typ: String, opt: Boolean) extends Query.BaseVarExpr with Product with Serializable

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val COL_CTX: String

  7. val EXTERNAL_FUN_CTX: String

  8. val FROM_CTX: String

  9. val FUN_CTX: String

  10. val GROUP_CTX: String

  11. val HAVING_CTX: String

  12. val JOIN_CTX: String

  13. val LIMIT_CTX: String

  14. val OPTIONAL_OPERAND_BIN_OPS: Set[String]

  15. val ORD_CTX: String

  16. val QUERY_CTX: String

  17. val ROOT_CTX: String

  18. val STANDART_BIN_OPS: Set[String]

  19. val TABLE_CTX: String

  20. val VALUES_CTX: String

  21. val WHERE_CTX: String

  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. def buildExpr(ex: QueryParser.Exp): Expr

  24. def buildExpr(ex: String): Expr

  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. var ctxStack: List[String]

    Attributes
    protected
  27. def defs(tables: List[Query.Table]): List[Query.Def]

    Definition Classes
    Typer
  28. def env: Env

    Definition Classes
    QueryBuilderEnvProvider
  29. def envId(): String

  30. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  32. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def findAliasByName(name: String): Option[String]

    Definition Classes
    Typer
  34. def findJoin(table: String): Option[((key_, key_), String)]

    Definition Classes
    Typer
  35. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  36. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  37. def headDef: Query.Def

    Definition Classes
    Typer
  38. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  39. lazy val joinsWithChildrenColExprs: Set[Query.ColExpr]

  40. def lastDef: Query.Def

    Definition Classes
    Typer
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. def printBuilderChain: Unit

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. var tableDefs: List[Query.Def]

    Attributes
    protected
  47. def toString(): String

    Definition Classes
    AnyRef → Any
  48. def transform(expr: Expr, f: PartialFunction[Expr, Expr]): Expr

    Definition Classes
    Transformer
  49. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Typer

Inherited from Transformer

Inherited from EnvProvider

Inherited from AnyRef

Inherited from Any

Ungrouped