Packages

package db

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. db
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ChunkWithMetadata[V](chunk: Chunk[V], pulledAt: Instant = Instant.now()) extends Product with Serializable
  2. final type DbTransactor = Has[Transactor[Task]]
  3. implicit final class InstantOps extends AnyVal
  4. trait QueryBuilder[V, -S] extends AnyRef
  5. final case class QueryResult[V](metadata: ResultMetadata, results: List[V]) extends Product with Serializable
  6. final case class ResultMetadata(queryExecutionTime: Long) extends Product with Serializable
  7. final case class Setup[K <: Product, V <: Product, S <: Product with HashableState](queryBuilder: QueryBuilder[V, S], defaultState: S, keyExtract: (V) ⇒ K, stateFoldM: (S) ⇒ (QueryResult[V]) ⇒ UIO[S])(implicit evidence$1: Encoder[K], evidence$2: Decoder[K], evidence$3: SchemaFor[K], evidence$4: Encoder[V], evidence$5: Decoder[V], evidence$6: SchemaFor[V], evidence$7: Encoder[S], evidence$8: Decoder[S], evidence$9: SchemaFor[S]) extends tamer.Setup[K, V, S] with Product with Serializable
  8. final type TamerDBConfig = DbTransactor with QueryConfig
  9. case class TimeSegment(from: Instant, to: Instant) extends HashableState with Product with Serializable
  10. abstract class Timestamped extends AnyRef

    By specifying a field here, tamer will order database records according to this date.

    By specifying a field here, tamer will order database records according to this date. Usually you want your latest update timestamp here.

  11. case class ValueWithMetadata[V](value: V, pulledAt: Instant = Instant.now()) extends Product with Serializable

Value Members

  1. final def fetch[K <: Product, V <: Product, S <: Product with HashableState](setup: Setup[K, V, S])(implicit arg0: Encoder[K], arg1: Decoder[K], arg2: SchemaFor[K], arg3: Encoder[V], arg4: Decoder[V], arg5: SchemaFor[V], arg6: Encoder[S], arg7: Decoder[S], arg8: SchemaFor[S]): ZIO[zio.ZEnv, TamerError, Unit]
  2. final def fetchWithTimeSegment[K <: Product, V <: Product with Timestamped](queryBuilder: (TimeSegment) ⇒ doobie.Query0[V])(earliest: Instant, tumblingStep: Duration, keyExtract: (V) ⇒ K)(implicit arg0: Encoder[K], arg1: Decoder[K], arg2: SchemaFor[K], arg3: Ordering[V], arg4: Encoder[V], arg5: Decoder[V], arg6: SchemaFor[V]): ZIO[zio.ZEnv, TamerError, Unit]
  3. final val hikariLayer: ZLayer[Blocking with DbConfig, TamerError, DbTransactor]
  4. object ConfigDb
  5. object Setup extends Serializable
  6. object Timestamped

Inherited from AnyRef

Inherited from Any

Ungrouped