Utils

org.squeryl.internals.Utils$
object Utils

Attributes

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

Members list

Value members

Concrete methods

def close(s: Statement): Unit

Attributes

Source
Utils.scala
def close(rs: ResultSet): Unit

Attributes

Source
Utils.scala
def close(c: Connection): Unit

Attributes

Source
Utils.scala

Attributes

Source
Utils.scala
def enumerationForValue(v: Value): Enumeration

Attributes

Source
Utils.scala
def failSafeString(s: => String): String

Will attempt to evaluate a string expression and will catch any exception. For use in circumstances when logging is needed (i.e. a fatal error has already occurred and we need to log as much info as possible (i.e. put as much info as possible in the 'black box'). Also used to allow dumping (ex. for logging) a Query AST before it is completely built.

Will attempt to evaluate a string expression and will catch any exception. For use in circumstances when logging is needed (i.e. a fatal error has already occurred and we need to log as much info as possible (i.e. put as much info as possible in the 'black box'). Also used to allow dumping (ex. for logging) a Query AST before it is completely built.

Attributes

Source
Utils.scala
def failSafeString(s: => String, valueOnFail: String): String

Attributes

Source
Utils.scala
def mapSampleObject[A, B](q: Queryable[A], visitor: A => B): B

visitor will get applied on a proxied Sample object of the Queryable[A], this function is used for obtaining AST nodes or metadata from A.

visitor will get applied on a proxied Sample object of the Queryable[A], this function is used for obtaining AST nodes or metadata from A.

Attributes

Source
Utils.scala
def throwError(msg: String): Nothing

Attributes

Source
Utils.scala