Augments Cassandra VersionNumber descriptors to support simple comparison of versions.
Table creation clause allowing specification of CQL compaction strategies.
Table creation clause allowing specification of CQL compaction strategies.
import com.outworkers.phantom.dsl._ SomeTable.create.`with`(compaction eqs SnappyCompressor)
Helper object used to specify the compression strategy for a table.
Helper object used to specify the compression strategy for a table. According to the Cassandra specification, the available strategies are:
A simple way to define a strategy is by using the {{eqs}} method.
import com.outworkers.phantom.dsl._ SomeTable.create.with(compression eqs SnappyCompressor)
Using a compression strategy also allows using the API methods of controlling compressor behaviour:
import com.outworkers.phantom.dsl._ import com.twitter.conversions.storage._ SomeTable.create.`with`(compression eqs SnappyCompressor.chunk_length_kb(50.kilobytes))
Definition used to cast a comparison clause to Map entry lookup based on a secondary index.
Definition used to cast a comparison clause to Map entry lookup based on a secondary index.
The type of the key inside the MapColumn.
The type of the value held inside the MapColumn.
The column update clause generated from MapColumn.apply(keyValue)
A MapEntriesConditionals query that allows secondary index operators on map entries.
Definition used to cast an index map column with values indexed to a query-able definition.
Definition used to cast an index map column with values indexed to a query-able definition. This will allow users to use "CONTAINS" clauses to search for matches based on map values.
The Cassandra table inner type.
The record type of the table.
The type of the key held in the map.
The type of the value held in the map.
The map column to cast to a Map column secondary index query.
A MapConditionals class with CONTAINS support.
Definition used to cast an index map column with keys indexed to a query-able definition.
Definition used to cast an index map column with keys indexed to a query-able definition. This will allow users to use "CONTAINS KEY" clauses to search for matches based on map keys.
The Cassandra table inner type.
The record type of the table.
The type of the key held in the map.
The type of the value held in the map.
The map column to cast to a Map column secondary index query.
A MapConditionals class with CONTAINS KEY support.