DummyExpressionHolder

org.squeryl.dsl.ast.DummyExpressionHolder
class DummyExpressionHolder(val renderedExpression: String) extends ExpressionNode

Update, delete and insert statement are not built with AST nodes, (for example Table[].update), although some portions of these statements (where clauses are sometimes built with it. The StatisticsListener needs to view every expression call as an AST, which is the reason for this class. AST are meant to be "non rendered", i.e. agnostic to specific DatabaseAdapter, this DummyExpressionHolder is an exception. TODO: unify expression building to be completely AST based.

Attributes

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

Members list

Value members

Concrete methods

def doWrite(sw: StatementWriter): Unit

Attributes

Source
ExpressionNode.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

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.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
def inhibitWhen(inhibited: Boolean): ExpressionNode.this.type

Attributes

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

Attributes

Inherited from:
ExpressionNode
Source
ExpressionNode.scala

Attributes

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

val renderedExpression: String

Attributes

Source
ExpressionNode.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