Returns a list of executable statements that will be parallelized with futures to create the entire database schema in a single call.
Returns a list of executable statements that will be parallelized with futures to create the entire database schema in a single call.
Every future in the statement list will contain the CQL schema generation query for a single table. Processing order is not guaranteed however the tables are generally processed in the order they are written in, even though ordering is not a guarantee required at this level of an application.
An executable statement list that can be used with Scala or Twitter futures to simultaneously execute an entire sequence of queries.
Returns a list of executable statements that will be parallelized with futures to drop the entire database schema in a single call.
Returns a list of executable statements that will be parallelized with futures to drop the entire database schema in a single call.
Every future in the statement list will contain the ALTER DROP drop query for a single table. Processing order is not guaranteed however the tables are generally processed in the order they are written in, even though ordering is not a guarantee required at this level of an application.
An executable statement list that can be used with Scala or Twitter futures to simultaneously execute an entire sequence of queries.
Returns a list of executable statements that will be parallelized with futures to truncate the entire database schema in a single call.
Returns a list of executable statements that will be parallelized with futures to truncate the entire database schema in a single call.
Every future in the statement list will contain the CQL truncation query for a single table. Processing order is not guaranteed however the tables are generally processed in the order they are written in, even though ordering is not a guarantee required at this level of an application.
An executable statement list that can be used with Scala or Twitter futures to simultaneously execute an entire sequence of queries.
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.
The timeout for the initialisation call. Defaults to com.websudos.phantom.database.DatabaseImpl#defaultTimeout
A sequence of result sets, where every result is the result of a single create operation.
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.
A sequence of result sets, where every result is the result of a single create operation.
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.
The timeout for the initialisation call. Defaults to com.websudos.phantom.database.DatabaseImpl#defaultTimeout
A sequence of result sets, where every result is the result of a single drop operation.
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.
A sequence of result sets, where every result is the result of a single drop operation.
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.
The timeout for the initialisation call. Defaults to com.websudos.phantom.database.DatabaseImpl#defaultTimeout
A sequence of result sets, where every result is the result of a single truncate operation.
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.
A sequence of result sets, where every result is the result of a single truncate operation.