Class

com.outworkers.phantom.ops

DbOps

Related Doc: package ops

Permalink

abstract class DbOps[P[_], F[_], DB <: Database[DB], Timeout] extends AnyRef

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

Instance Constructors

  1. new DbOps(db: Database[DB])(implicit arg0: FutureMonad[F], interface: PromiseInterface[P, F])

    Permalink

Abstract Value Members

  1. abstract def await[T](f: F[T], timeout: Timeout = defaultTimeout): T

    Permalink
  2. abstract def defaultTimeout: Timeout

    Permalink
  3. abstract def execute[M[X] <: TraversableOnce[X]](col: QueryCollection[M])(implicit cbf: CanBuildFrom[M[ExecutableCqlQuery], ExecutableCqlQuery, M[ExecutableCqlQuery]]): ExecutableStatements[F, M]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def create(timeout: Timeout = defaultTimeout)(implicit ex: ExecutionContextExecutor): Seq[Seq[ResultSet]]

    Permalink

    A blocking method that will create all the tables.

    A blocking method that will create all the tables. This is designed to prevent the requirement of the implicit session to escape the enclosure of the database object.

    timeout

    The timeout for the initialisation call. Defaults to com.outworkers.phantom.database.Database#defaultTimeout

    returns

    A sequence of result sets, where every result is the result of a single create operation.

  7. def createAsync()(implicit ex: ExecutionContextExecutor): F[Seq[Seq[ResultSet]]]

    Permalink

    An asynchronous method that will create all the tables.

    An asynchronous method that will create all the tables. This is designed to prevent the requirement of the implicit session to escape the enclosure of the database object.

    returns

    A sequence of result sets, where every result is the result of a single create operation.

  8. val db: Database[DB]

    Permalink
  9. def drop(timeout: Timeout = defaultTimeout)(implicit ex: ExecutionContextExecutor): Seq[ResultSet]

    Permalink

    A blocking method that will drop all the tables.

    A blocking method that will drop all the tables. This is designed to prevent the requirement of the implicit session to escape the enclosure of the database object.

    timeout

    The timeout for the initialisation call. Defaults to com.outworkers.phantom.database.Database#defaultTimeout

    returns

    A sequence of result sets, where every result is the result of a single drop operation.

  10. def dropAsync()(implicit ex: ExecutionContextExecutor): F[Seq[ResultSet]]

    Permalink

    An async method that will drop all the tables.

    An async method that will drop all the tables. This is designed to prevent the requirement of the implicit session to escape the enclosure of the database object.

    returns

    A sequence of result sets, where every result is the result of a single drop operation.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def truncate(timeout: Timeout = defaultTimeout)(implicit ex: ExecutionContextExecutor): Seq[ResultSet]

    Permalink

    A blocking method that will truncate all the tables.

    A blocking method that will truncate all the tables. This is designed to prevent the requirement of the implicit session to escape the enclosure of the database object.

    timeout

    The timeout for the initialisation call. Defaults to com.outworkers.phantom.database.Database#defaultTimeout

    returns

    A sequence of result sets, where every result is the result of a single truncate operation.

  23. def truncateAsync()(implicit ex: ExecutionContextExecutor): F[Seq[ResultSet]]

    Permalink

    An async method that will truncate all the tables.

    An async method that will truncate all the tables. This is designed to prevent the requirement of the implicit session to escape the enclosure of the database object.

    returns

    A sequence of result sets, where every result is the result of a single truncate operation.

  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped