org.tresql

QueryBuilder

Related Docs: object QueryBuilder | package tresql

class QueryBuilder extends EnvProvider with Transformer with Typer

Linear Supertypes
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 PrimitiveExpr with Product with Serializable

  2. case class ArrExpr(elements: List[Expr]) extends BaseExpr with Product with Serializable

  3. abstract class BaseExpr extends PrimitiveExpr

  4. case class BinExpr(op: String, lop: Expr, rop: Expr) extends BaseExpr with Product with Serializable

  5. case class BracesExpr(expr: Expr) extends BaseExpr with Product with Serializable

  6. case class ChangeEnvExpr(key: String, expr: Expr) extends BaseExpr with Product with Serializable

  7. case class ColExpr(col: Expr, alias: String, typ: String, sepQuery: Option[Boolean] = None, hidden: Boolean = false) extends PrimitiveExpr with Product with Serializable

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

  9. trait Def extends AnyRef

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

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

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

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

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

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

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

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

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

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

  20. class InsertExpr extends DeleteExpr

  21. case class LookupInsertExpr(key: String, expr: Expr) extends BaseExpr with Product with Serializable

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

  23. abstract class PrimitiveExpr extends Expr

  24. case class RecursiveExpr(exp: Any) extends BaseExpr with Product with Serializable

  25. case class ResExpr(nr: Int, col: Any) extends PrimitiveExpr with Product with Serializable

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

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

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

    Definition Classes
    Typer
  29. case class SelectExpr(tables: List[Table], filter: Expr, cols: List[ColExpr], distinct: Boolean, group: Expr, order: Expr, offset: Expr, limit: Expr, aliases: Map[String, Table], parentJoin: Option[Expr]) extends BaseExpr with Product with Serializable

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

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

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

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

  34. class UpdateExpr extends DeleteExpr

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

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

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 COL_CTX: String

  5. val EXTERNAL_FUN_CTX: String

  6. val FROM_CTX: String

  7. val FUN_CTX: String

  8. val GROUP_CTX: String

  9. val HAVING_CTX: String

  10. val JOIN_CTX: String

  11. val LIMIT_CTX: String

  12. val OPTIONAL_OPERAND_BIN_OPS: Set[String]

  13. val ORD_CTX: String

  14. val QUERY_CTX: String

  15. val ROOT_CTX: String

  16. val STANDART_BIN_OPS: Set[String]

  17. val TABLE_CTX: String

  18. val VALUES_CTX: String

  19. val WHERE_CTX: String

  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def build(ex: QueryParser.Exp): Expr

  22. def build(ex: String): Expr

  23. def clone(): AnyRef

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

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

    Definition Classes
    Typer
  26. val env: Env

    Definition Classes
    QueryBuilderEnvProvider
  27. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  34. def headDef: Def

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

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

  37. def lastDef: Def

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

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

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

    Definition Classes
    AnyRef
  41. def printBuilderChain: Unit

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

    Definition Classes
    AnyRef
  43. var tableDefs: List[Def]

    Attributes
    protected
  44. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. 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