Package

com.outworkers.phantom.builder.query

execution

Permalink

package execution

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

Type Members

  1. class ExactlyOncePromise[P[_], F[_], T] extends AnyRef

    Permalink
  2. case class ExecutableCqlQuery(qb: CQLQuery, options: QueryOptions = QueryOptions.empty, tokens: List[TokenizerKey]) extends Product with Serializable

    Permalink
  3. class ExecutableStatements[F[_], M[X] <: TraversableOnce[X]] extends AnyRef

    Permalink
  4. trait ExecutionEngine[F[_]] extends AnyRef

    Permalink
  5. implicit class FunctorOps[F[_], T] extends AnyRef

    Permalink
  6. trait FutureMonad[F[_]] extends AnyRef

    Permalink

    A special mini monad implementation that allows us not to have to rely on Cats being part of our dependencies as it's really heavy to use for this simple reason.

    A special mini monad implementation that allows us not to have to rely on Cats being part of our dependencies as it's really heavy to use for this simple reason. Cats also requires binding a future monad for Scala futures against a known ExecutionContextExecutor, which unfortunately interferes with one of the core features in phantom, giving users the ability to supply their own execution context whenever they want.

    In our implementation, we go against the grain and include the implicit ExecutionContextExecutor as part of the standard method signature for map and flatMap, and this is only because we want to keep enabling users to supply their own context. Certain implementations of Futures will downright ignore this implicit parameter, but it's there for the implementations of Future and Promise that need it, specifically Scala Standard Lib scala.concurrent.Future and scala.concurrent.Promise.

    Cats is a much better library in any conceivable way, and while we are not trying to reinvent category theory, it's too heavy of a dependency to add for the sake of a single simple typeclass.

    F

    The type of the Future implementation for which we implement map and flatMap.

  7. trait GuavaAdapter[F[_]] extends AnyRef

    Permalink
  8. case class IteratorResult[R](records: Iterator[R], result: ResultSet) extends RecordResult[R] with Product with Serializable

    Permalink
  9. case class ListResult[R](records: List[R], result: ResultSet) extends RecordResult[R] with Product with Serializable

    Permalink
  10. trait MultiQueryInterface[M[X] <: TraversableOnce[X], F[_]] extends AnyRef

    Permalink
  11. trait PromiseInterface[P[_], F[_]] extends AnyRef

    Permalink
  12. class QueryCollection[M[X] <: TraversableOnce[X]] extends AnyRef

    Permalink
  13. abstract class QueryInterface[F[_]] extends AnyRef

    Permalink
  14. trait RecordResult[R] extends AnyRef

    Permalink
  15. abstract class ResultQueryInterface[F[_], T <: CassandraTable[T, _], R, Limit <: LimitBound] extends QueryInterface[F]

    Permalink

Value Members

  1. object ExecutableCqlQuery extends Serializable

    Permalink
  2. object ExecutionHelper

    Permalink
  3. object FutureMonadOps

    Permalink
  4. object ListResult extends Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped