package streams
Reactive Streams support.
see also https://www.reactive-streams.org/
- Source
- package.scala
- Alphabetic
- By Inheritance
- streams
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class DatabasePublisher[A] extends Publisher[A] with LogSupport
A database backend Publisher in the fashion of Reactive Streams
A database backend Publisher in the fashion of Reactive Streams
see also: https://www.reactive-streams.org/
- implicit final class EnableDBCodeBlockToProvideDatabasePublisher extends AnyVal
An implicit to enable the
DB.readOnlyStream
method:An implicit to enable the
DB.readOnlyStream
method:val publisher = DB.readOnlyStream { sql"select id from users".map(_.long("id")).iterator }
- implicit final class EnableNamedDBCodeBlockToProvideDatabasePublisher extends AnyVal
An implicit to enable the
NamedDB('name).readOnlyStream
method:An implicit to enable the
NamedDB('name).readOnlyStream
method:val publisher = NamedDB('name).readOnlyStream { sql"select id from users".map(_.long("id")).iterator }
- implicit final class FromSQLToStreamSQLConverter[A, E <: WithExtractor] extends AnyVal
An implicit to enable the
iterator
method:An implicit to enable the
iterator
method:val publisher = DB.readOnlyStream { sql"select id from users".map(_.long("id")).iterator }
- case class StreamReadySQL[A] extends Product with Serializable
Streaming-ready SQL object.
Streaming-ready SQL object.
The primary constructor is intentionally hidden, use only StreamSQL object's apply method to instantiate.
Value Members
- val DefaultFetchSize: Int