Packages

trait DerbyProfile extends JdbcProfile

Slick profile for Derby/JavaDB.

This profile implements slick.jdbc.JdbcProfile without the following capabilities:

Source
DerbyProfile.scala
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DerbyProfile
  2. JdbcProfile
  3. JdbcMappingCompilerComponent
  4. JdbcStatementBuilderComponent
  5. JdbcModelComponent
  6. JdbcTypesComponent
  7. JdbcInvokerComponent
  8. JdbcActionComponent
  9. SqlProfile
  10. SqlUtilsComponent
  11. SqlActionComponent
  12. SqlTableComponent
  13. RelationalProfile
  14. RelationalActionComponent
  15. RelationalTypesComponent
  16. RelationalSequenceComponent
  17. RelationalTableComponent
  18. BasicProfile
  19. BasicActionComponent
  20. AnyRef
  21. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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
  2. type Backend = JdbcBackend

    The back-end type required by this profile

    The back-end type required by this profile

    Definition Classes
    JdbcProfileRelationalProfileBasicProfile
  3. type BaseColumnType[T] = JdbcType[T] with BaseTypedType[T]
  4. class ColumnDDLBuilder extends DerbyProfile.ColumnDDLBuilder
  5. type ColumnType[T] = JdbcType[T]
  6. type CompiledInsert = JdbcCompiledInsert

    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
    JdbcProfileBasicProfile
  7. type DeleteActionExtensionMethods = DeleteActionExtensionMethodsImpl
    Definition Classes
    JdbcActionComponent
  8. type InsertActionExtensionMethods[T] = CountingInsertActionComposer[T]
  9. class JdbcTypes extends DerbyProfile.JdbcTypes
  10. class ModelBuilder extends JdbcModelBuilder
  11. type ProfileAction[+R, +S <: NoStream, -E <: Effect] = FixedSqlAction[R, S, E]
  12. type QueryActionExtensionMethods[R, S <: NoStream] = QueryActionExtensionMethodsImpl[R, S]
  13. class QueryBuilder extends DerbyProfile.QueryBuilder
  14. type SchemaActionExtensionMethods = SchemaActionExtensionMethodsImpl
  15. type SchemaDescription = DDL

    The type of a schema description (DDL)

    The type of a schema description (DDL)

    Definition Classes
    SqlProfileBasicProfile
  16. class SequenceDDLBuilder[T] extends DerbyProfile.SequenceDDLBuilder
  17. type StreamingProfileAction[+R, +T, -E <: Effect] = FixedSqlStreamingAction[R, T, E]
  18. type StreamingQueryActionExtensionMethods[R, T] = StreamingQueryActionExtensionMethodsImpl[R, T]
  19. class TableDDLBuilder extends DerbyProfile.TableDDLBuilder
  20. type UpdateActionExtensionMethods[T] = UpdateActionExtensionMethodsImpl[T]
    Definition Classes
    JdbcActionComponent
  21. trait CountingInsertActionComposer[U] extends JdbcProfile.InsertActionComposer[U]

    An InsertInvoker that returns the number of affected rows.

    An InsertInvoker that returns the number of affected rows.

    Definition Classes
    JdbcActionComponent
  22. class DeleteActionExtensionMethodsImpl extends AnyRef
    Definition Classes
    JdbcActionComponent
  23. trait InsertActionComposer[U] extends JdbcProfile.SimpleInsertActionComposer[U]

    Extension methods to generate the JDBC-specific insert actions.

    Extension methods to generate the JDBC-specific insert actions.

    Definition Classes
    JdbcActionComponent
  24. trait IntoInsertActionComposer[U, RU] extends JdbcProfile.SimpleInsertActionComposer[U]

    An InsertActionComposer that returns a mapping of the inserted and generated data.

    An InsertActionComposer that returns a mapping of the inserted and generated data.

    Definition Classes
    JdbcActionComponent
  25. class JdbcActionExtensionMethods[E <: Effect, R, S <: NoStream] extends AnyRef
    Definition Classes
    JdbcActionComponent
  26. class MutatingResultAction[T] extends SynchronousDatabaseAction[Nothing, Streaming[ResultSetMutator[T]], Backend, Effect] with JdbcProfile.ProfileAction[Nothing, Streaming[ResultSetMutator[T]], Effect]
    Definition Classes
    JdbcActionComponent
  27. class QueryActionExtensionMethodsImpl[R, S <: NoStream] extends JdbcProfile.QueryActionExtensionMethodsImpl[R, S]
    Definition Classes
    JdbcActionComponent
  28. trait ReturningInsertActionComposer[U, RU] extends JdbcProfile.InsertActionComposer[U] with JdbcProfile.IntoInsertActionComposer[U, RU]

    An InsertActionComposer that returns generated keys or other columns.

    An InsertActionComposer that returns generated keys or other columns.

    Definition Classes
    JdbcActionComponent
  29. class SchemaActionExtensionMethodsImpl extends JdbcProfile.SchemaActionExtensionMethodsImpl
    Definition Classes
    JdbcActionComponent
  30. trait SimpleInsertActionComposer[U] extends JdbcProfile.InsertActionExtensionMethodsImpl[U]

    Extension methods to generate the JDBC-specific insert actions.

    Extension methods to generate the JDBC-specific insert actions.

    Definition Classes
    JdbcActionComponent
  31. abstract class SimpleJdbcProfileAction[+R] extends SynchronousDatabaseAction[R, NoStream, Backend, Effect] with JdbcProfile.ProfileAction[R, NoStream, Effect]
    Definition Classes
    JdbcActionComponent
  32. class StreamingQueryActionExtensionMethodsImpl[R, T] extends JdbcProfile.QueryActionExtensionMethodsImpl[R, Streaming[T]] with JdbcProfile.StreamingQueryActionExtensionMethodsImpl[R, T]
    Definition Classes
    JdbcActionComponent
  33. class UpdateActionExtensionMethodsImpl[T] extends AnyRef
    Definition Classes
    JdbcActionComponent
  34. trait QueryInvoker[R] extends StatementInvoker[R]

    An Invoker for queries.

    An Invoker for queries.

    Definition Classes
    JdbcInvokerComponent
  35. class QueryInvokerImpl[R] extends StatementInvoker[R] with JdbcProfile.QueryInvoker[R]
    Definition Classes
    JdbcInvokerComponent
  36. class JdbcCodeGen extends CodeGen

    Code generator phase for queries on JdbcProfile.

    Code generator phase for queries on JdbcProfile.

    Definition Classes
    JdbcMappingCompilerComponent
  37. class JdbcInsertCodeGen extends CodeGen

    Code generator phase for inserts on JdbcProfile.

    Code generator phase for inserts on JdbcProfile.

    Definition Classes
    JdbcMappingCompilerComponent
  38. class MappingCompiler extends ResultConverterCompiler[JdbcResultConverterDomain]

    A ResultConverterCompiler that builds JDBC-based converters.

    A ResultConverterCompiler that builds JDBC-based converters. Instances of this class use mutable state internally. They are meant to be used for a single conversion only and must not be shared or reused.

    Definition Classes
    JdbcMappingCompilerComponent
  39. trait API extends LowPriorityAPI with JdbcProfile.API with ImplicitColumnTypes
    Definition Classes
    JdbcProfile
  40. trait LowPriorityAPI extends AnyRef
    Definition Classes
    JdbcProfile
  41. class CheckInsertBuilder extends JdbcProfile.UpsertBuilder

    Builder for SELECT statements that can be used to check for the existing of primary keys supplied to an INSERT operation.

    Builder for SELECT statements that can be used to check for the existing of primary keys supplied to an INSERT operation. Used by the insertOrUpdate emulation on databases that don't support this in a single server-side statement.

    Definition Classes
    JdbcStatementBuilderComponent
  42. class InsertBuilder extends AnyRef

    Builder for INSERT statements.

    Builder for INSERT statements.

    Definition Classes
    JdbcStatementBuilderComponent
  43. class JdbcCompiledInsert extends AnyRef
  44. abstract class StatementPart extends AnyRef
  45. class UpdateInsertBuilder extends JdbcProfile.UpsertBuilder

    Builder for UPDATE statements used as part of an insertOrUpdate operation on databases that don't support this in a single server-side statement.

    Builder for UPDATE statements used as part of an insertOrUpdate operation on databases that don't support this in a single server-side statement.

    Definition Classes
    JdbcStatementBuilderComponent
  46. class UpsertBuilder extends JdbcProfile.InsertBuilder

    Builder for upsert statements, builds standard SQL MERGE statements by default.

    Builder for upsert statements, builds standard SQL MERGE statements by default.

    Definition Classes
    JdbcStatementBuilderComponent
  47. abstract class DriverJdbcType[T] extends JdbcType[T]
    Definition Classes
    JdbcTypesComponent
  48. trait ImplicitColumnTypes extends JdbcProfile.ImplicitColumnTypes
    Definition Classes
    JdbcTypesComponent
  49. abstract class MappedJdbcType[T, U] extends JdbcType[T]
    Definition Classes
    JdbcTypesComponent
  50. trait InsertActionExtensionMethodsImpl[T] extends AnyRef
    Definition Classes
    RelationalActionComponent
  51. class FastPathExtensionMethods[M <: ResultConverterDomain, T, P] extends AnyRef
    Definition Classes
    RelationalProfile
  52. class TableQueryExtensionMethods[T <: Table[_], U] extends AnyRef
    Definition Classes
    RelationalProfile
  53. class Sequence[T] extends AnyRef
    Definition Classes
    RelationalSequenceComponent
  54. abstract class Table[T] extends AbstractTable[T]
    Definition Classes
    RelationalTableComponent
  55. trait MappedColumnTypeFactory extends AnyRef
    Definition Classes
    RelationalTypesComponent
  56. trait DDL extends SchemaDescriptionDef
    Definition Classes
    SqlProfile
  57. trait ColumnOptions extends SqlProfile.ColumnOptions
    Definition Classes
    SqlTableComponent
  58. class QuotingSymbolNamer extends SymbolNamer
    Definition Classes
    SqlUtilsComponent

Deprecated Type Members

  1. final type DriverAction[+R, +S <: NoStream, -E <: Effect] = ProfileAction[R, S, E]
    Definition Classes
    BasicActionComponent
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2) Use ProfileAction instead of DriverAction

  2. final type StreamingDriverAction[+R, +T, -E <: Effect] = StreamingProfileAction[R, T, E]
    Definition Classes
    BasicActionComponent
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2) Use StreamingProfileAction instead of StreamingDriverAction

Value Members

  1. lazy val MappedColumnType: MappedJdbcType.type
  2. val api: API

    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
    JdbcProfileRelationalProfileBasicProfile
  3. val backend: Backend

    The back-end implementation for this profile

    The back-end implementation for this profile

    Definition Classes
    JdbcProfileBasicProfile
  4. final def buildSequenceSchemaDescription(seq: Sequence[_]): DDL
  5. final def buildTableSchemaDescription(table: Table[_]): DDL
  6. 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
  7. lazy val checkInsertCompiler: QueryCompiler
    Definition Classes
    JdbcProfile
  8. val columnOptions: ColumnOptions
  9. val columnTypes: JdbcTypes
    Definition Classes
    DerbyProfileJdbcProfile
  10. def compileInsert(tree: Node): JdbcCompiledInsert

    (Partially) compile an AST for insert operations

    (Partially) compile an AST for insert operations

    Definition Classes
    JdbcProfileBasicProfile
  11. final lazy val compiler: QueryCompiler
    Definition Classes
    RelationalProfile
  12. def createBaseResultConverter[T](ti: JdbcType[T], name: String, idx: Int): ResultConverter[JdbcResultConverterDomain, T]

    Create a (possibly specialized) ResultConverter for the given JdbcType.

    Create a (possibly specialized) ResultConverter for the given JdbcType.

    Definition Classes
    JdbcMappingCompilerComponent
  13. def createCheckInsertBuilder(node: Insert): InsertBuilder
  14. def createColumnDDLBuilder(column: FieldSymbol, table: Table[_]): ColumnDDLBuilder
  15. def createDeleteActionExtensionMethods(tree: Node, param: Any): DeleteActionExtensionMethods
    Definition Classes
    JdbcActionComponent
  16. def createInsertActionExtensionMethods[T](compiled: CompiledInsert): InsertActionExtensionMethods[T]
  17. def createInsertBuilder(node: Insert): InsertBuilder
  18. def createModel(tables: Option[DBIO[Seq[MTable]]] = None, ignoreInvalidDefaults: Boolean = true)(implicit ec: ExecutionContext): DBIO[Model]

    Gets the Slick data model describing this data source

    Gets the Slick data model describing this data source

    tables

    used to build the model, uses defaultTables if None given

    ignoreInvalidDefaults

    logs unrecognized default values instead of throwing an exception

    Definition Classes
    JdbcModelComponent
  19. def createModelBuilder(tables: Seq[MTable], ignoreInvalidDefaults: Boolean)(implicit ec: ExecutionContext): JdbcModelBuilder
    Definition Classes
    DerbyProfileJdbcModelComponent
  20. def createOptionResultConverter[T](ti: JdbcType[T], idx: Int): ResultConverter[JdbcResultConverterDomain, Option[T]]

    Create a (possibly specialized) ResultConverter for Option values of the given JdbcType.

    Create a (possibly specialized) ResultConverter for Option values of the given JdbcType.

    Definition Classes
    JdbcMappingCompilerComponent
  21. def createQueryActionExtensionMethods[R, S <: NoStream](tree: Node, param: Any): QueryActionExtensionMethods[R, S]
  22. def createQueryBuilder(n: Node, state: CompilerState): QueryBuilder
  23. def createQueryInvoker[R](tree: Node, param: Any, sql: String): QueryInvokerImpl[R]
    Definition Classes
    JdbcInvokerComponent
  24. def createReturningInsertActionComposer[U, QR, RU](compiled: CompiledInsert, keys: Node, mux: (U, QR) => RU): ReturningInsertActionComposer[U, RU]
    Definition Classes
    JdbcActionComponent
  25. def createSchemaActionExtensionMethods(schema: SchemaDescription): SchemaActionExtensionMethods
  26. def createSequenceDDLBuilder(seq: Sequence[_]): SequenceDDLBuilder[_]
  27. def createStreamingQueryActionExtensionMethods[R, T](tree: Node, param: Any): StreamingQueryActionExtensionMethods[R, T]
  28. def createTableDDLBuilder(table: Table[_]): TableDDLBuilder
  29. def createUpdateActionExtensionMethods[T](tree: Node, param: Any): UpdateActionExtensionMethods[T]
    Definition Classes
    JdbcActionComponent
  30. def createUpdateInsertBuilder(node: Insert): InsertBuilder
  31. def createUpsertBuilder(node: Insert): InsertBuilder
  32. def defaultSqlTypeName(tmd: JdbcType[_], sym: Option[FieldSymbol]): String
    Definition Classes
    DerbyProfileJdbcTypesComponent
  33. def defaultTables(implicit ec: ExecutionContext): DBIO[Seq[MTable]]

    Jdbc meta data for all tables included in the Slick model by default

    Jdbc meta data for all tables included in the Slick model by default

    Definition Classes
    DerbyProfileJdbcModelComponent
  34. lazy val deleteCompiler: QueryCompiler

    The compiler used for deleting data

    The compiler used for deleting data

    Definition Classes
    JdbcProfileBasicProfile
  35. lazy val forceInsertCompiler: QueryCompiler
    Definition Classes
    JdbcProfile
  36. lazy val insertCompiler: QueryCompiler

    The compiler used for inserting data

    The compiler used for inserting data

    Definition Classes
    JdbcProfileBasicProfile
  37. def jdbcTypeFor(t: Type): JdbcType[Any]
    Definition Classes
    JdbcTypesComponent
  38. def likeEncode(s: String): String
    Definition Classes
    SqlUtilsComponent
  39. val mappingCompiler: MappingCompiler

    The MappingCompiler for this profile.

    The MappingCompiler for this profile.

    Definition Classes
    JdbcMappingCompilerComponent
  40. lazy val queryCompiler: QueryCompiler

    The compiler used for queries

    The compiler used for queries

    Definition Classes
    JdbcProfileBasicProfile
  41. def quoteIdentifier(id: String): String

    quotes identifiers to avoid collisions with SQL keywords and other syntax issues

    quotes identifiers to avoid collisions with SQL keywords and other syntax issues

    Definition Classes
    SqlUtilsComponent
  42. def quoteTableName(t: TableNode): String
    Definition Classes
    SqlUtilsComponent
  43. def runSynchronousQuery[R](tree: Node, param: Any)(implicit session: SessionDef): 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
    JdbcProfileRelationalProfile
  44. val scalarFrom: Some[String]

    The table name for scalar selects (e.g.

    The table name for scalar selects (e.g. "select 42 from DUAL;"), or None for scalar selects without a FROM clause ("select 42;").

    Definition Classes
    DerbyProfileJdbcStatementBuilderComponent
  45. def toString(): String
    Definition Classes
    BasicProfile → AnyRef → Any
  46. lazy val updateCompiler: QueryCompiler

    The compiler used for updates

    The compiler used for updates

    Definition Classes
    JdbcProfileBasicProfile
  47. lazy val updateInsertCompiler: QueryCompiler
    Definition Classes
    JdbcProfile
  48. lazy val upsertCompiler: QueryCompiler
    Definition Classes
    JdbcProfile
  49. def valueToSQLLiteral(v: Any, tpe: Type): String

    Create a SQL representation of a literal value.

    Create a SQL representation of a literal value.

    Definition Classes
    JdbcStatementBuilderComponent
  50. case object FromPart extends JdbcProfile.StatementPart with Product with Serializable
  51. case object HavingPart extends JdbcProfile.StatementPart with Product with Serializable
  52. case object OtherPart extends JdbcProfile.StatementPart with Product with Serializable
  53. case object SelectPart extends JdbcProfile.StatementPart with Product with Serializable
  54. case object WherePart extends JdbcProfile.StatementPart with Product with Serializable
  55. object JdbcType
    Definition Classes
    JdbcTypesComponent
  56. object MappedJdbcType extends JdbcProfile.MappedColumnTypeFactory
    Definition Classes
    JdbcTypesComponent
  57. object Sequence
    Definition Classes
    RelationalSequenceComponent
  58. object DDL
    Definition Classes
    SqlProfile

Deprecated Value Members

  1. val profile: JdbcProfile

    The external interface of this profile which defines the API.

    The external interface of this profile which defines the API.

    Definition Classes
    JdbcProfileSqlProfileRelationalProfileBasicProfile
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2) Use the Profile object directly instead of calling .profile on it