Package

spinoco.fs2.cassandra

builder

Permalink

package builder

Visibility
  1. Public
  2. All

Type Members

  1. case class BatchBuilder[Q <: HList, R <: HList](isLogged: Boolean, statements: Seq[String], fill: (Q, Seq[PreparedStatement], ProtocolVersion) ⇒ Either[Throwable, Seq[BoundStatement]], readResult: (Q) ⇒ (Seq[Row], ProtocolVersion) ⇒ Either[Throwable, R]) extends Product with Serializable

    Permalink
  2. case class DeleteBuilder[R <: HList, PK <: HList, CK <: HList, Q <: HList, RIF <: HList](table: Table[R, PK, CK, _ <: HList], ifConditions: Seq[(String, String, Comparison.Value)], columns: Seq[String], timestamp: Option[String], ifExistsCondition: Boolean) extends Product with Serializable

    Permalink
  3. case class IndexEntry(name: String, field: String, className: Option[String], options: Map[String, String]) extends Product with Serializable

    Permalink
  4. case class InsertBuilder[R <: HList, PK <: HList, CK <: HList, I <: HList](table: Table[R, PK, CK, _ <: HList], ttl: Option[String], timestamp: Option[String], ifNotExistsFlag: Boolean) extends Product with Serializable

    Permalink

    Builder for Insert of the columns in table.

    Builder for Insert of the columns in table. I is at least sum of Partitioning and Cluster Key types

  5. case class MaterializedViewBuilder[R <: HList, QPK <: HList, QCK <: HList, S <: HList, PK <: HList, CK <: HList](query: QueryBuilder[R, QPK, QCK, _ <: HList, _ <: HList, S, _], partitionKeys: Seq[String], clusterKeys: Seq[String]) extends Product with Serializable

    Permalink

    Helper to build type safe definition of a materialized view

  6. case class QueryBuilder[R <: HList, PK <: HList, CK <: HList, IDX <: HList, Q <: HList, S <: HList, M](table: AbstractTable[R, PK, CK, IDX], queryColumns: Seq[(String, String)], whereConditions: Seq[String], orderColumns: Seq[(String, Boolean)], clusterColumns: Map[Comparison.Value, Seq[(String, String)]], limitCount: Option[Int], allowFilteringFlag: Boolean) extends Product with Serializable

    Permalink
  7. case class TableBuilder[R <: HList, PK <: HList, CK <: HList, IDX <: HList](ks: KeySpace, indexes: Seq[IndexEntry], partitionKeys: Seq[String], clusterKeys: Seq[String]) extends Product with Serializable

    Permalink

    Helper to build type safe definition of the table

  8. case class UpdateBuilder[R <: HList, PK <: HList, CK <: HList, Q <: HList, RIF <: HList](table: Table[R, PK, CK, _ <: HList], collectionUpdates: Seq[String], collectionKeys: Set[String], ifConditions: Seq[(String, String, Comparison.Value)], timestamp: Option[String], ttl: Option[String], counterColumns: Seq[(String, Boolean)], ifExistsCondition: Boolean) extends Product with Serializable

    Permalink

    Builder of update statement

    Builder of update statement

    table

    Table this operates on

    collectionUpdates

    Updates to collection fields (set, list, map)

    ifConditions

    If conditions

    ifExistsCondition

    flag indicating if this has to be applied only if row exists.

Value Members

  1. object BatchBuilder extends Serializable

    Permalink
  2. object IndexEntry extends Serializable

    Permalink
  3. object QueryBuilder extends Serializable

    Permalink
  4. object UpdateBuilder extends Serializable

    Permalink

Ungrouped