net.liftweb.mapper.PreCache

class PreCache

case final class PreCache[TheType <: Mapper[TheType]](val field : MappedForeignKey[Any, TheType, Any], val deterministic : Boolean)

 extends QueryParam[TheType] with Product


This QueryParam can be put in a query and will cause the given foreign key field to be precached.
param
deterministic - - true if the query is deterministic. Will be more efficient. false if the query is not deterministic. In this case, a SELECT * FROM FK_TABLE WHERE primary_key in (xxx) will be generated
field - - the field to precache


Companion: PreCache

Source: MetaMapper.scala(1564)

 Constructors

def this(field : MappedForeignKey[Any, TheType, Any], deterministic : Boolean)

 Fields

productArity.. override def productArity Int
productPrefix.. override def productPrefix String

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. override def equals(arg0 : Any) Boolean
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. override def hashCode Int
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
productElement.. override def productElement(arg0 : Int) Any
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. override def toString String
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.