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
- Alphabetic
- By Inheritance
- SelectElement
- ExpressionNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def alias: String
- abstract def expression: ExpressionNode
- 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
- abstract def prepareColumnMapper(index: Int): Unit
- abstract def prepareMapper(jdbcIndex: Int): Unit
- abstract def resultSetMapper: ResultSetMapper
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ?: SelectElement.this.type
- Definition Classes
- ExpressionNode
- val _inhibitedByWhen: Boolean
- Attributes
- protected
- Definition Classes
- ExpressionNode
- val _isActive: Boolean
- Attributes
- protected[squeryl]
- def actualSelectElement: SelectElement
- def aliasSegment: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cast[A, T](typ: String)(implicit tef: TypedExpressionFactory[A, T]): TypedExpression[A, T]
- Definition Classes
- ExpressionNode
- def children: List[ExpressionNode]
- Definition Classes
- SelectElement → ExpressionNode
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def doWrite(sw: StatementWriter): Unit
- Definition Classes
- SelectElement → ExpressionNode
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filterDescendants(predicate: (ExpressionNode) => Boolean): Iterable[ExpressionNode]
- Definition Classes
- ExpressionNode
- def filterDescendantsOfType[T](implicit ClassTag: ClassTag[T]): Iterable[T]
- Definition Classes
- ExpressionNode
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def id: String
- Definition Classes
- ExpressionNode
- 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.
- def inhibitWhen(inhibited: Boolean): SelectElement.this.type
- Definition Classes
- ExpressionNode
- def inhibited: Boolean
- Definition Classes
- SelectElement → ExpressionNode
- def inhibitedFlagForAstDump: String
- Definition Classes
- ExpressionNode
- def isActive: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parent: Option[ExpressionNode]
- Definition Classes
- ExpressionNode
- def parentQueryable: QueryableExpressionNode
- def realTableNamePrefix: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ExpressionNode → AnyRef → Any
- 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
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def write(sw: StatementWriter): Unit
- Definition Classes
- ExpressionNode
- def writeToString: String
- Definition Classes
- ExpressionNode