Overview of the Cassandra Driver Mapper
trunkThe Mapper is an object-mapping layer provided by the Cassandra Node.js driver that allows you to interact with Cassandra data as if it were a set of documents. It reduces boilerplate by using driver schema metadata instead of requiring manual schema definitions and follows convention-based mapping.
Key features include:
- Minimal Configuration: Automatically uses driver schema metadata.
- Schema Flexibility: Supports denormalized schemas and materialized views by mapping a single model to multiple tables.
- Custom Queries: Allows you to bypass automatic query generation by providing your own queries while still mapping the results to objects.
- High Performance: Designed with minimal performance overhead compared to using the core driver directly.