Trait

org.squeryl.dsl.ast

SelectElement

Related Doc: package ast

Permalink

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
Known Subclasses
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. All

Abstract Value Members

  1. abstract def alias: String

    Permalink
  2. abstract def expression: ExpressionNode

    Permalink
  3. abstract def origin: QueryableExpressionNode

    Permalink

    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
    
    

    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

    Permalink
  5. abstract def prepareMapper(jdbcIndex: Int): Unit

    Permalink
  6. abstract def resultSetMapper: ResultSetMapper

    Permalink
  7. abstract def typeOfExpressionToString: String

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def ?: SelectElement.this.type

    Permalink
    Definition Classes
    ExpressionNode
  5. var _inhibitedByWhen: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ExpressionNode
  6. var _isActive: Boolean

    Permalink
    Attributes
    protected[org.squeryl]
  7. def actualSelectElement: SelectElement

    Permalink
  8. def aliasSegment: String

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def cast[A, T](typ: String)(implicit tef: TypedExpressionFactory[A, T]): TypedExpression[A, T]

    Permalink
    Definition Classes
    ExpressionNode
  11. def children: List[ExpressionNode]

    Permalink
    Definition Classes
    SelectElementExpressionNode
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def doWrite(sw: StatementWriter): Unit

    Permalink
    Definition Classes
    SelectElementExpressionNode
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def filterDescendants(predicate: (ExpressionNode) ⇒ Boolean): Iterable[ExpressionNode]

    Permalink
    Definition Classes
    ExpressionNode
  17. def filterDescendantsOfType[T](implicit manifest: Manifest[T]): Iterable[T]

    Permalink
    Definition Classes
    ExpressionNode
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def id: String

    Permalink
    Definition Classes
    ExpressionNode
  22. def inhibitAliasOnSelectElementReference: Boolean

    Permalink

    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

    Permalink
    Definition Classes
    ExpressionNode
  24. def inhibited: Boolean

    Permalink
    Definition Classes
    SelectElementExpressionNode
  25. def inhibitedFlagForAstDump: String

    Permalink
    Definition Classes
    ExpressionNode
  26. def isActive: Boolean

    Permalink
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. var parent: Option[ExpressionNode]

    Permalink
    Definition Classes
    ExpressionNode
  32. def parentQueryable: QueryableExpressionNode

    Permalink
  33. def realTableNamePrefix: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    ExpressionNode → AnyRef → Any
  36. def visitDescendants(visitor: (ExpressionNode, Option[ExpressionNode], Int) ⇒ Unit): Unit

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def write(sw: StatementWriter): Unit

    Permalink
    Definition Classes
    ExpressionNode
  41. def writeToString: String

    Permalink
    Definition Classes
    ExpressionNode

Inherited from ExpressionNode

Inherited from AnyRef

Inherited from Any

Ungrouped