API Reference Cassandrax v0.4.0

Modules

Cassandrax is a Cassandra ORM built on top of Xandra and Ecto. Xandra provides the driver for communication with the Database, and Ecto provides the data mapping functionality as well as changesets to control data mutations.

Raised at runtime when a cluster is listed in the env, but no config for it is found

Raised at startup when a cluster cannot connect, to prevent application initialization when cassandrax isn't available

Defines a Keyspace.

This module is invoked by User defined keyspaces for schema related functionality

Raised at runtime when a query expects one result, but many are returned

Provides the query macros.

Builds query clauses and adds them to a Cassandrax.Query

Raised at runtime when a query is invalid

Converts a data structure into an Cassandrax.Query.

Defines a schema.

Defines the SET collection type used by CassandraDB

Raised at compile time when a schema is invalid