com.outworkers.phantom.finagle
This will convert the underlying call to Cassandra done with Google Guava ListenableFuture to a consumable Scala Future that will be completed once the operation is completed on the database end.
This will convert the underlying call to Cassandra done with Google Guava ListenableFuture to a consumable Scala Future that will be completed once the operation is completed on the database end.
The execution context of the transformation is provided by phantom via Manager.scalaExecutor and it is recommended to use com.outworkers.phantom.dsl.context for operations that chain database calls.
The function allowing to modify underlying Statement
The implicit session provided by a com.outworkers.phantom.connectors.Connector.
The implicit Java executor.
Default asynchronous query execution method based on Twitter Future API.
Default asynchronous query execution method based on Twitter Future API. This will convert the underlying call to Cassandra done with Google Guava ListenableFuture to a consumable Twitter Future that will be completed once the operation is completed on the database end.
Unlike Scala Futures, Twitter Futures and operations on them do not require an implicit context. Instead, the context propagates from one future to another inside a flatMap chain which means all operations(map, flatMap) that originate on a Twitter Future obtained as the result of a database call will execute inside Manager.scalaExecutor.
The implicit session provided by a com.outworkers.phantom.connectors.Connector.
The implicit Java executor.