Class

com.outworkers.phantom.ops.QueryContext

DatabaseOperation

Related Doc: package QueryContext

Permalink

implicit class DatabaseOperation[DB <: Database[DB]] extends DbOps[P, F, DB, Timeout]

Linear Supertypes
DbOps[P, F, DB, Timeout], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DatabaseOperation
  2. DbOps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DatabaseOperation(db: Database[DB])

    Permalink

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 await[T](f: F[T], timeout: Timeout): T

    Permalink
    Definition Classes
    DatabaseOperationDbOps
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. 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.

    Definition Classes
    DbOps
  8. 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.

    Definition Classes
    DbOps
  9. val db: Database[DB]

    Permalink
    Definition Classes
    DatabaseOperationDbOps
  10. def defaultTimeout: Timeout

    Permalink
    Definition Classes
    DatabaseOperationDbOps
  11. 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.

    Definition Classes
    DbOps
  12. 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.

    Definition Classes
    DbOps
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def execute[M[X] <: TraversableOnce[X]](col: QueryCollection[M])(implicit cbf: CanBuildFrom[M[ExecutableCqlQuery], ExecutableCqlQuery, M[ExecutableCqlQuery]]): ExecutableStatements[F, M]

    Permalink
    Definition Classes
    DatabaseOperationDbOps
  16. def finalize(): Unit

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. 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.

    Definition Classes
    DbOps
  26. 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.

    Definition Classes
    DbOps
  27. final def wait(): Unit

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

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

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

Inherited from DbOps[P, F, DB, Timeout]

Inherited from AnyRef

Inherited from Any

Ungrouped