trait MemoryProfile extends RelationalProfile with MemoryQueryingProfile
A profile for interpreted queries on top of the in-memory database.
- Self Type
- MemoryProfile
- Source
- MemoryProfile.scala
- Alphabetic
- By Inheritance
- MemoryProfile
- MemoryQueryingProfile
- RelationalProfile
- RelationalActionComponent
- RelationalTypesComponent
- RelationalSequenceComponent
- RelationalTableComponent
- BasicProfile
- BasicActionComponent
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- trait BasicQueryActionExtensionMethodsImpl[R, S <: NoStream] extends AnyRef
- Definition Classes
- BasicActionComponent
- trait BasicStreamingQueryActionExtensionMethodsImpl[R, T] extends BasicProfile.BasicQueryActionExtensionMethodsImpl[R, Streaming[T]]
- Definition Classes
- BasicActionComponent
- trait BasicAPI extends Aliases with ExtensionMethodConversions
- Definition Classes
- BasicProfile
- trait SchemaDescriptionDef extends AnyRef
A schema description contains the SQL statements for creating and dropping database entities.
A schema description contains the SQL statements for creating and dropping database entities. Schema descriptions can be combined for creating or dropping multiple entities together, even if they have circular dependencies.
- Definition Classes
- BasicProfile
- type Backend = HeapBackend
The back-end type required by this profile
The back-end type required by this profile
- Definition Classes
- MemoryProfile → RelationalProfile → BasicProfile
- type BaseColumnType[T] = ScalaType[T] with BaseTypedType[T]
- Definition Classes
- MemoryQueryingProfile
- type ColumnType[T] = ScalaType[T]
- Definition Classes
- MemoryQueryingProfile
- type CompiledInsert = Node
The type of a (partially) compiled AST for Insert operations.
The type of a (partially) compiled AST for Insert operations. Unlike querying or deleting, inserts may require different compilation results which should be computed lazily.
- Definition Classes
- MemoryQueryingProfile → BasicProfile
- class DDL extends SchemaDescriptionDef
- type InsertActionExtensionMethods[T] = MemoryInsertActionExtensionMethodsImpl[T]
- Definition Classes
- MemoryProfile → RelationalActionComponent
- type InsertInvoker[T] = InsertInvokerDef[T]
- class InsertInvokerDef[T] extends AnyRef
- class InsertMappingCompiler extends ResultConverterCompiler[ProductValue, ArrayBuffer[Any], Nothing]
- class MappedColumnType[T, U] extends ScalaType[T] with BaseTypedType[T]
- trait MemoryAPI extends RelationalAPI with MemoryQueryingAPI
- class MemoryInsertActionExtensionMethodsImpl[T] extends InsertActionExtensionMethodsImpl[T]
- class MemoryInsertCodeGen extends CodeGen
- class MemoryMappedColumnTypeFactory extends MappedColumnTypeFactory
- class MemoryQueryActionExtensionMethodsImpl[R, S <: NoStream] extends BasicQueryActionExtensionMethodsImpl[R, S]
- class MemorySchemaActionExtensionMethodsImpl extends RelationalSchemaActionExtensionMethodsImpl
- class MemoryStreamingQueryActionExtensionMethodsImpl[R, T] extends MemoryQueryActionExtensionMethodsImpl[R, Streaming[T]] with BasicStreamingQueryActionExtensionMethodsImpl[R, T]
- type ProfileAction[+R, +S <: NoStream, -E <: Effect] = FixedBasicAction[R, S, E]
- Definition Classes
- MemoryProfile → BasicActionComponent
- type QueryActionExtensionMethods[R, S <: NoStream] = MemoryQueryActionExtensionMethodsImpl[R, S]
- Definition Classes
- MemoryProfile → BasicActionComponent
- abstract type ResultConverterReader
- Definition Classes
- RelationalProfile
- abstract type ResultConverterUpdater
- Definition Classes
- RelationalProfile
- abstract type ResultConverterWriter
- Definition Classes
- RelationalProfile
- type SchemaActionExtensionMethods = MemorySchemaActionExtensionMethodsImpl
- Definition Classes
- MemoryProfile → RelationalActionComponent
- type SchemaDescription = SchemaDescriptionDef
The type of a schema description (DDL)
The type of a schema description (DDL)
- Definition Classes
- MemoryProfile → BasicProfile
- type StreamingProfileAction[+R, +T, -E <: Effect] = FixedBasicStreamingAction[R, T, E]
- Definition Classes
- MemoryProfile → BasicActionComponent
- class StreamingQueryAction[R, T] extends StreamingProfileAction[R, T, Read] with SynchronousDatabaseAction[R, Streaming[T], HeapBackend.BasicActionContext, HeapBackend.BasicStreamingActionContext, Read]
- type StreamingQueryActionExtensionMethods[R, T] = MemoryStreamingQueryActionExtensionMethodsImpl[R, T]
- Definition Classes
- MemoryProfile → BasicActionComponent
- trait ImplicitColumnTypes extends AnyRef
- Definition Classes
- MemoryQueryingProfile
- class MemoryCodeGen extends CodeGen with ResultConverterCompiler[ProductValue, ArrayBuffer[Any], Nothing]
- Definition Classes
- MemoryQueryingProfile
- trait MemoryQueryingAPI extends BasicAPI with ImplicitColumnTypes
- Definition Classes
- MemoryQueryingProfile
- trait InsertActionExtensionMethodsImpl[T] extends AnyRef
- Definition Classes
- RelationalActionComponent
- trait RelationalSchemaActionExtensionMethodsImpl extends AnyRef
- Definition Classes
- RelationalActionComponent
- class FastPathExtensionMethods[R, W, U, T] extends AnyRef
- Definition Classes
- RelationalProfile
- trait RelationalAPI extends BasicAPI with RelationalImplicitColumnTypes
- Definition Classes
- RelationalProfile
- class TableQueryExtensionMethods[T <: Table[_], U] extends AnyRef
- Definition Classes
- RelationalProfile
- class Sequence[T] extends AnyRef
- Definition Classes
- RelationalSequenceComponent
- trait RelationalColumnOptions extends AnyRef
- Definition Classes
- RelationalTableComponent
- abstract class Table[T] extends AbstractTable[T]
- Definition Classes
- RelationalTableComponent
- trait MappedColumnTypeFactory extends AnyRef
- Definition Classes
- RelationalTypesComponent
- trait RelationalImplicitColumnTypes extends AnyRef
- Definition Classes
- RelationalTypesComponent
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (MemoryProfile, B)
- Implicit
- This member is added by an implicit conversion from MemoryProfile toArrowAssoc[MemoryProfile] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val MappedColumnType: MemoryMappedColumnTypeFactory
- Definition Classes
- MemoryProfile → RelationalTypesComponent
- val api: MemoryAPI
The API for using the query language with a single import statement.
The API for using the query language with a single import statement. This provides the profile's implicits, the Database API and commonly used query language types and objects.
- Definition Classes
- MemoryProfile → MemoryQueryingProfile → RelationalProfile → BasicProfile
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val backend: Backend
The back-end implementation for this profile
The back-end implementation for this profile
- Definition Classes
- MemoryProfile → BasicProfile
- def buildSequenceSchemaDescription(seq: Sequence[_]): SchemaDescription
- Definition Classes
- MemoryProfile → RelationalSequenceComponent
- def buildTableSchemaDescription(table: Table[_]): SchemaDescription
- Definition Classes
- MemoryProfile → RelationalTableComponent
- final val capabilities: Set[Capability]
The capabilities supported by this profile.
The capabilities supported by this profile. This can be used to query at runtime whether a specific feature is supported.
- Definition Classes
- BasicProfile
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val columnOptions: RelationalColumnOptions
- Definition Classes
- RelationalTableComponent
- def compileInsert(tree: Node): CompiledInsert
(Partially) compile an AST for insert operations
(Partially) compile an AST for insert operations
- Definition Classes
- MemoryQueryingProfile → BasicProfile
- final lazy val compiler: QueryCompiler
- Definition Classes
- RelationalProfile
- def computeCapabilities: Set[Capability]
Compute the capabilities.
Compute the capabilities. This should be overridden in subclasses as needed.
- Attributes
- protected
- Definition Classes
- MemoryProfile → RelationalProfile → BasicProfile
- def computeQueryCompiler: QueryCompiler
- Definition Classes
- MemoryProfile → RelationalProfile
- def createInsertActionExtensionMethods[T](compiled: CompiledInsert): InsertActionExtensionMethods[T]
- Definition Classes
- MemoryProfile → RelationalActionComponent
- def createInsertInvoker[T](tree: Node): InsertInvoker[T]
- def createInterpreter(db: HeapDatabaseDef, param: Any): QueryInterpreter
- Attributes
- protected
- def createQueryActionExtensionMethods[R, S <: NoStream](tree: Node, param: Any): QueryActionExtensionMethods[R, S]
- Definition Classes
- MemoryProfile → BasicActionComponent
- def createSchemaActionExtensionMethods(schema: SchemaDescription): SchemaActionExtensionMethods
- Definition Classes
- MemoryProfile → RelationalActionComponent
- def createStreamingQueryActionExtensionMethods[R, T](tree: Node, param: Any): StreamingQueryActionExtensionMethods[R, T]
- Definition Classes
- MemoryProfile → BasicActionComponent
- def dbAction[R, S <: NoStream, E <: Effect](f: (HeapSessionDef) => R): ProfileAction[R, S, E]
- Attributes
- protected[this]
- lazy val deleteCompiler: QueryCompiler
The compiler used for deleting data
The compiler used for deleting data
- Definition Classes
- MemoryProfile → BasicProfile
- def ensuring(cond: (MemoryProfile) => Boolean, msg: => Any): MemoryProfile
- Implicit
- This member is added by an implicit conversion from MemoryProfile toEnsuring[MemoryProfile] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (MemoryProfile) => Boolean): MemoryProfile
- Implicit
- This member is added by an implicit conversion from MemoryProfile toEnsuring[MemoryProfile] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): MemoryProfile
- Implicit
- This member is added by an implicit conversion from MemoryProfile toEnsuring[MemoryProfile] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): MemoryProfile
- Implicit
- This member is added by an implicit conversion from MemoryProfile toEnsuring[MemoryProfile] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- lazy val insertCompiler: QueryCompiler
The compiler used for inserting data
The compiler used for inserting data
- Definition Classes
- MemoryProfile → BasicProfile
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadProfileConfig: Config
Load the configuration for this profile.
Load the configuration for this profile. This can be overridden in user-defined subclasses to load different configurations.
The default implementation does a breadth-first search in the supertype hierarchy of the runtime class until it finds a class or trait with a name matching "slick.[...]Profile" and then returns uses this name as a path in the application config. If no configuration exists at this path, an empty Config object is returned.
- Attributes
- protected[this]
- Definition Classes
- BasicProfile
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final lazy val profileConfig: Config
The configuration for this profile, loaded via loadProfileConfig.
The configuration for this profile, loaded via loadProfileConfig.
- Attributes
- protected[this]
- Definition Classes
- BasicProfile
- lazy val queryCompiler: QueryCompiler
The compiler used for queries
The compiler used for queries
- Definition Classes
- MemoryProfile → BasicProfile
- def runSynchronousQuery[R](tree: Node, param: Any)(implicit session: Session): R
Run a query synchronously on the provided session.
Run a query synchronously on the provided session. This is used by DistributedProfile until we can make it fully asynchronous.
- Definition Classes
- MemoryProfile → RelationalProfile
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- BasicProfile → AnyRef → Any
- def typeInfoFor(t: Type): ScalaType[Any]
The profile-specific representation of types
The profile-specific representation of types
- Definition Classes
- MemoryQueryingProfile
- lazy val updateCompiler: QueryCompiler
The compiler used for updates
The compiler used for updates
- Definition Classes
- MemoryProfile → BasicProfile
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object ProductOfCommonPaths
- Definition Classes
- MemoryQueryingProfile
- object Sequence
- Definition Classes
- RelationalSequenceComponent
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from MemoryProfile toStringFormat[MemoryProfile] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (MemoryProfile, B)
- Implicit
- This member is added by an implicit conversion from MemoryProfile toArrowAssoc[MemoryProfile] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...