Creates an ALTER drop query to drop the column from the schema definition.
Creates an ALTER drop query to drop the column from the schema definition. It will produce the following type of queries, with the CQL serialization on the right hand side:
MyTable.alter.drop(_.mycolumn) => ALTER TABLE MyTable DROP myColumn
This is used mainly during the autodiffing of schemas, where column selectors are not available and we only deal with plain string diffs between table metadata collections.
The string name of the column to drop.
A new alter query with the underlying builder containing a DROP clause.
Creates an ALTER DROP query that drops an entire table.
Creates an ALTER DROP query that drops an entire table. This is equivalent to table truncation followed by table removal from the keyspace metadata. This action is irreversible and you should exercise caution is using it.
The implicit keyspace definition to use.
An alter query with a DROP TABLE instruction encoded in the query string.
Creates an ALTER drop query to drop the column from the schema definition.
Creates an ALTER drop query to drop the column from the schema definition. It will produce the following type of queries, with the CQL serialization on the right hand side:
MyTable.alter.drop(_.mycolumn) => ALTER TABLE MyTable DROP myColumn
The underlying type of the AbstractColumn.
A column selector higher order function derived from a table.
A new alter query with the underlying builder containing a DROP clause.
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 com.outworkers.phantom.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 Scala executor.
An asynchronous Scala future wrapping the Datastax result set.
Default asynchronous query execution method.
Default asynchronous query execution method. 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 com.outworkers.phantom.Manager.scalaExecutor and it is recommended to use com.outworkers.phantom.dsl.context for operations that chain database calls.
The implicit session provided by a com.outworkers.phantom.connectors.Connector.
The implicit Scala execution context.
An asynchronous Scala future wrapping the Datastax result set.
(Since version 2.0.0) Use option instead