ExportedSelectElement

org.squeryl.dsl.ast.ExportedSelectElement
class ExportedSelectElement(val selectElement: SelectElement) extends SelectElement

SelectElement that refer to a SelectElement of an inner or outer query

Attributes

Source
SelectElement.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

A root level query that has nested queries (or refers to queries in an outer scope) will have SelectElements that are ExportedSelectElement, the 'actualSelectElement' points directly to the referred AST node, while 'target' refers to it indirectly (see target)

A root level query that has nested queries (or refers to queries in an outer scope) will have SelectElements that are ExportedSelectElement, the 'actualSelectElement' points directly to the referred AST node, while 'target' refers to it indirectly (see target)

Attributes

Definition Classes
Source
SelectElement.scala
def alias: String

Attributes

Source
SelectElement.scala
override def aliasSegment: String

Attributes

Definition Classes
Source
SelectElement.scala
override def inhibited: Boolean

Attributes

Definition Classes
Source
SelectElement.scala
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

Attributes

Source
SelectElement.scala
def prepareColumnMapper(index: Int): Unit

Attributes

Source
SelectElement.scala
override def prepareMapper(jdbcIndex: Int): Unit

Attributes

Definition Classes
Source
SelectElement.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Source
SelectElement.scala

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

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

Attributes

Source
SelectElement.scala

Inherited methods

def ?: ExpressionNode.this.type

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala
def cast[A, T](typ: String)(implicit tef: TypedExpressionFactory[A, T]): TypedExpression[A, T]

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala
override def children: List[ExpressionNode]

Attributes

Definition Classes
Inherited from:
SelectElement
Source
SelectElement.scala
def doWrite(sw: StatementWriter): Unit

Attributes

Inherited from:
SelectElement
Source
SelectElement.scala
def filterDescendants(predicate: ExpressionNode => Boolean): Iterable[ExpressionNode]

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala
def filterDescendantsOfType[T](implicit ClassTag: ClassTag[T]): Iterable[T]

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala
def id: String

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala

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.

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.

Attributes

Inherited from:
SelectElement
Source
SelectElement.scala
def inhibitWhen(inhibited: Boolean): ExpressionNode.this.type

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala
def isActive: Boolean

Attributes

Inherited from:
SelectElement
Source
SelectElement.scala
def realTableNamePrefix: Boolean

Attributes

Inherited from:
SelectElement
Source
SelectElement.scala
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

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala
def write(sw: StatementWriter): Unit

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala
def writeToString: String

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala

Concrete fields

lazy val target: SelectElement

target points to the selectElement that this ExportSelectElement refers to, who can also be an ExportSelectElement, whose target will point to its inner select element, recursively, until it becomes equal to the 'end' target, the actualSelectElement In other words : exportSelectElement.target.target.,...,.target == exportSelectElement.actualSelectElement

target points to the selectElement that this ExportSelectElement refers to, who can also be an ExportSelectElement, whose target will point to its inner select element, recursively, until it becomes equal to the 'end' target, the actualSelectElement In other words : exportSelectElement.target.target.,...,.target == exportSelectElement.actualSelectElement

Attributes

Source
SelectElement.scala

Inherited fields

protected var _inhibitedByWhen: Boolean

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala
var parent: Option[ExpressionNode]

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala