Typeclass used to prevent invalid type alterations at compile time.
Typeclass used to prevent invalid type alterations at compile time. Cassandra only allows for specific changes of column types using ALTER Query which means we need to somehow enforce the existing mechanism.
We do so by requesting compile time implicit evidence that any type alteration must supply, e.g. that Source and Target have a predefined allowed alteration.
The source type of the column.
The target type of the column.
Class used to provide serialization ability for updating specific keys of a map column.
Class used to provide serialization ability for updating specific keys of a map column. This CQL syntax allows users to manipulate the content of a Cassandra map column.
Example:
Database.table.update.where(_.id eqs id).modify(_.map(key) setTo value).future()
The strong type of the key in the map.
The strong type of the value in the map.
A class enforcing columns used in where clauses to be indexed.
A class enforcing columns used in where clauses to be indexed. Using an implicit mechanism, only columns that are indexed can be converted into Indexed columns. This enforces a Cassandra limitation at compile time. It prevents a user from querying and using where operators on a column without any index.
The type of the value the column holds.
The name of the column.
A class enforcing columns used in where clauses to be indexed.
A class enforcing columns used in where clauses to be indexed. Using an implicit mechanism, only columns that are indexed can be converted into Indexed columns. This enforces a Cassandra limitation at compile time. It prevents a user from querying and using where operators on a column without any index.
The type of the value the column holds.