FieldReferenceLinker

org.squeryl.internals.FieldReferenceLinker$

Attributes

Source
FieldReferenceLinker.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Source
FieldReferenceLinker.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def clearThreadLocalState(): Unit

Attributes

Source
FieldReferenceLinker.scala
def createCallBack(v: ViewExpressionNode[_]): Callback

Attributes

Source
FieldReferenceLinker.scala
def determineColumnsUtilizedInYeldInvocation(q: QueryExpressionNode[_], rsm: ResultSetMapper, selectClosure: () => AnyRef): (List[SelectElement], AnyRef)

It is assumed that yield invocation for inspection will never be nested, since a query is completely built (and it's yield inspection is done) before it can be nested, this is unlikely to change, but documenting this assumption was deemed useful, because this method would stop working (without complaining) if (the assumption) was broken.

It is assumed that yield invocation for inspection will never be nested, since a query is completely built (and it's yield inspection is done) before it can be nested, this is unlikely to change, but documenting this assumption was deemed useful, because this method would stop working (without complaining) if (the assumption) was broken.

Attributes

Source
FieldReferenceLinker.scala
def executeAndRestoreLastAccessedFieldReference[A](expressionWithSideEffectsASTConstructionThreadLocalState: => A): A

_lastAccessedFieldReference is unique per thread, AST construction can be nested and can interfere with one another, this method is used for preserving the previous _lastAccessedFieldReference when a nested AST construction takes place and during the construction of 'sample' POSOs, because they are proxied, and can call their intercepted fields during construction, calling the constructor for 'sample' POSO construction without wrapping with this methor would have the effect of 'polluting' the _lastAccessedFieldReference (issue 68).

_lastAccessedFieldReference is unique per thread, AST construction can be nested and can interfere with one another, this method is used for preserving the previous _lastAccessedFieldReference when a nested AST construction takes place and during the construction of 'sample' POSOs, because they are proxied, and can call their intercepted fields during construction, calling the constructor for 'sample' POSO construction without wrapping with this methor would have the effect of 'polluting' the _lastAccessedFieldReference (issue 68).

Attributes

Source
FieldReferenceLinker.scala
def findOwnerOfSample(s: AnyRef): Option[QueryableExpressionNode]

Attributes

Source
FieldReferenceLinker.scala
def isYieldInspectionMode: Boolean

Attributes

Source
FieldReferenceLinker.scala
def pushExpressionOrCollectValue[T](e: () => TypedExpression[T, _]): T

Attributes

Source
FieldReferenceLinker.scala
def pushYieldValue(v: AnyRef): ArrayBuffer[AnyRef]

Attributes

Source
FieldReferenceLinker.scala