com.outworkers.phantom.ops.QueryContext

DatabaseOperation

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def await[T](f: F[T], timeout: Timeout): T

    Definition Classes
    DatabaseOperationDbOps
  8. def clone(): AnyRef

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

    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
  10. def createAsync()(implicit ex: ExecutionContextExecutor): F[Seq[Seq[ResultSet]]]

    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
  11. val db: Database[DB]

    Definition Classes
    DatabaseOperationDbOps
  12. def defaultTimeout: Timeout

    Definition Classes
    DatabaseOperationDbOps
  13. def drop(timeout: Timeout = defaultTimeout)(implicit ex: ExecutionContextExecutor): Seq[ResultSet]

    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
  14. def dropAsync()(implicit ex: ExecutionContextExecutor): F[Seq[ResultSet]]

    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
  15. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    DatabaseOperationDbOps
  18. def finalize(): Unit

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

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

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

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

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

    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
  28. def truncateAsync()(implicit ex: ExecutionContextExecutor): F[Seq[ResultSet]]

    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
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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

Inherited from AnyRef

Inherited from Any

Ungrouped