t

org.squeryl.dsl.ast

SelectElement

trait SelectElement extends ExpressionNode

SelectElement are elements of a select list, for example they are a,b, and c in :

select a,b,c from T

they are either ValueSelectElement for composite expressions, i.e. select (x / 2) * y as Z from .... TupleSelectElement for group by or compute elements (TODO: document group by/compute) FieldSelectElement for table columns (that map to fields)

ExportSelectElement for a select element that refers to a SelectElement of an inner or outer query.

SelectElementReference are nodes in any clause other than select (where, having, composite expression, order by, etc) that refer to a SelectElement

Self Type
SelectElement
Source
SelectElement.scala
Linear Supertypes
ExpressionNode, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SelectElement
  2. ExpressionNode
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def alias: String
  2. abstract def expression: ExpressionNode
  3. abstract def origin: QueryableExpressionNode

    In the following select :
    
      select t.x from t
    
     t.x is a select element and t is it's origin
    
    Here q.z1 is a SelectElement who's origin is t
    
      select q.z1
      from
        (select t.x as z1 from t) q
    
    

  4. abstract def prepareColumnMapper(index: Int): Unit
  5. abstract def prepareMapper(jdbcIndex: Int): Unit
  6. abstract def resultSetMapper: ResultSetMapper
  7. abstract def typeOfExpressionToString: String

    strictly for logging purposes, i.e.

    strictly for logging purposes, i.e. to display a more explicit AST

Concrete 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. def ?: SelectElement.this.type
    Definition Classes
    ExpressionNode
  5. val _inhibitedByWhen: Boolean
    Attributes
    protected
    Definition Classes
    ExpressionNode
  6. val _isActive: Boolean
    Attributes
    protected[squeryl]
  7. def actualSelectElement: SelectElement
  8. def aliasSegment: String
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def cast[A, T](typ: String)(implicit tef: TypedExpressionFactory[A, T]): TypedExpression[A, T]
    Definition Classes
    ExpressionNode
  11. def children: List[ExpressionNode]
    Definition Classes
    SelectElementExpressionNode
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def doWrite(sw: StatementWriter): Unit
    Definition Classes
    SelectElementExpressionNode
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def filterDescendants(predicate: (ExpressionNode) => Boolean): Iterable[ExpressionNode]
    Definition Classes
    ExpressionNode
  17. def filterDescendantsOfType[T](implicit ClassTag: ClassTag[T]): Iterable[T]
    Definition Classes
    ExpressionNode
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def id: String
    Definition Classes
    ExpressionNode
  22. def inhibitAliasOnSelectElementReference: Boolean

    Update, Insert, and Delete statements are always at the root of an AST, so they are never aliased, but then can have sub queries, ex.: update ...

    Update, Insert, and Delete statements are always at the root of an AST, so they are never aliased, but then can have sub queries, ex.: update ... where x in (subquery). Name clashes are impossible since SelectElements of query are always aliased.

  23. def inhibitWhen(inhibited: Boolean): SelectElement.this.type
    Definition Classes
    ExpressionNode
  24. def inhibited: Boolean
    Definition Classes
    SelectElementExpressionNode
  25. def inhibitedFlagForAstDump: String
    Definition Classes
    ExpressionNode
  26. def isActive: Boolean
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val parent: Option[ExpressionNode]
    Definition Classes
    ExpressionNode
  32. def parentQueryable: QueryableExpressionNode
  33. def realTableNamePrefix: Boolean
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    ExpressionNode → AnyRef → Any
  36. def visitDescendants(visitor: (ExpressionNode, Option[ExpressionNode], Int) => Unit): Unit

    visitor's args are : -the visited node, -it's parent -it's depth

    visitor's args are : -the visited node, -it's parent -it's depth

    Definition Classes
    ExpressionNode
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. def write(sw: StatementWriter): Unit
    Definition Classes
    ExpressionNode
  41. def writeToString: String
    Definition Classes
    ExpressionNode

Inherited from ExpressionNode

Inherited from AnyRef

Inherited from Any

Ungrouped