slick.memory

QueryInterpreter

class QueryInterpreter extends Logging

A query interpreter for the MemoryDriver and for client-side operations that need to be run as part of distributed queries against multiple backends.

It uses ScalaType, ProductValue/StructValue and plain Scala collections to represent data. Queries are expected to be in the shape after running all the standard query compiler phases (but not the extra relational phases) and assigning ScalaTypes everywhere.

Source
QueryInterpreter.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QueryInterpreter
  2. Logging
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryInterpreter(db: DatabaseDef, params: Any)

    db

    The in-memory database which is used for resolving Tables

    params

    The query parameters

Type Members

  1. type Coll = Iterable[Any]

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (QueryInterpreter, B)

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to ArrowAssoc[QueryInterpreter] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def asBoolean(v: Any): Boolean

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compileLikePattern(s: String, escape: Option[Char]): Pattern

  12. def createNullRow(tpe: Type): Any

  13. def ensuring(cond: (QueryInterpreter) ⇒ Boolean, msg: ⇒ Any): QueryInterpreter

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to Ensuring[QueryInterpreter] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (QueryInterpreter) ⇒ Boolean): QueryInterpreter

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to Ensuring[QueryInterpreter] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): QueryInterpreter

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to Ensuring[QueryInterpreter] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): QueryInterpreter

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to Ensuring[QueryInterpreter] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def evalFunction(sym: Symbol, args: Seq[(Type, Any)], retType: Type): Any

  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. var indent: Int

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def logDebug(msg: String): Unit

  27. lazy val logger: SlickLogger

    Attributes
    protected[this]
    Definition Classes
    QueryInterpreterLogging
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def reduceOptionIt(it: Iterator[Any], opt: Boolean, f: (Any, Any) ⇒ Any): Option[Any]

  32. def run(n: Node): Any

  33. val scope: HashMap[Symbol, Any]

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def unwrapSingleColumn(coll: Coll, tpe: Type): (Iterator[Any], Type)

  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def [B](y: B): (QueryInterpreter, B)

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to ArrowAssoc[QueryInterpreter] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (queryInterpreter: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (queryInterpreter: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: QueryInterpreter

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to ArrowAssoc[QueryInterpreter] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (queryInterpreter: ArrowAssoc[QueryInterpreter]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: QueryInterpreter

    Implicit information
    This member is added by an implicit conversion from QueryInterpreter to Ensuring[QueryInterpreter] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (queryInterpreter: Ensuring[QueryInterpreter]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from QueryInterpreter to StringAdd

Inherited by implicit conversion any2stringfmt from QueryInterpreter to StringFormat

Inherited by implicit conversion any2ArrowAssoc from QueryInterpreter to ArrowAssoc[QueryInterpreter]

Inherited by implicit conversion any2Ensuring from QueryInterpreter to Ensuring[QueryInterpreter]

Ungrouped