Package

scalikejdbc

streams

Permalink

package streams

Reactive Streams support.

see also http://www.reactive-streams.org/

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. streams
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class DatabasePublisher[A] extends Publisher[A] with LogSupport

    Permalink

    A database backend Publisher in the fashion of Reactive Streams

    A database backend Publisher in the fashion of Reactive Streams

    see also: http://www.reactive-streams.org/

  2. implicit final class EnableDBCodeBlockToProvideDatabasePublisher extends AnyVal

    Permalink

    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
    }
  3. implicit final class EnableNamedDBCodeBlockToProvideDatabasePublisher extends AnyVal

    Permalink

    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
    }
  4. implicit final class FromSQLToStreamSQLConverter[A, E <: WithExtractor] extends AnyVal

    Permalink

    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
    }
  5. case class StreamReadySQL[A] extends Product with Serializable

    Permalink

    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

  1. val DefaultFetchSize: Int

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped