API Reference AshScylla v#1.4.0

Copy Markdown View Source

Modules

AshScylla is a data layer for Ash Framework that uses ScyllaDB (via Xandra).

Application callback for AshScylla.

GenServer wrapper for Xandra connections.

An Ash data layer for ScyllaDB using Xandra (direct CQL driver).

Batch operations support for AshScylla using ScyllaDB's BATCH statements.

Collection type (LIST, SET, MAP) optimization for ScyllaDB.

Compression support for large payloads in ScyllaDB.

DSL extensions for configuring ScyllaDB-specific options on Ash resources.

Validates that filter columns are queryable in ScyllaDB/Cassandra.

Materialized view support for AshScylla.

Token-based pagination support for AshScylla.

Query building functions for AshScylla data layer.

Query optimization hints for ScyllaDB.

Automatic schema migration support for AshScylla.

Shared schema utilities for table names, column analysis, and identifier quoting.

Struct representing a secondary index definition on a ScyllaDB table.

Shared CQL type mapping and conversion helpers.

User Defined Type (UDT) runtime support for ScyllaDB.

Common error types and utilities for AshScylla.

Comprehensive error handling for ScyllaDB-specific errors.

AshScylla extension for mix ash.codegen and mix ash.migrate support.

Centralized CQL identifier sanitization.

CQL schema generation helpers for ScyllaDB.

Generates CQL migration files from Ash resource definitions.

Thin wrapper for executing CQL schema migrations via Xandra directly.

Shared helper functions for AshScylla Mix tasks.

ETS-based prepared statement cache for ScyllaDB/Cassandra queries.

Represents a pending ScyllaDB query being built from Ash query expressions.

Release task helpers for running AshScylla migrations in production without Mix installed.

Configuration module for AshScylla using direct Xandra connections.

Generates starter Ash Resource modules for AshScylla.

Behaviour for schema migration modules loaded from priv/migrations.

Struct representing a single resource's schema statements.

Loads and discovers schema migration modules from priv/<repo>/migrations.

Telemetry integration for AshScylla.

AshScylla Repo for ash_scylla.

AshScylla Repo for my_app.

Mix Tasks

Generates a schema migration file from Ash DSL resource definitions.

Generates an AshScylla Repo module for your application.

Generates CQL migration files from Ash resource definitions, and stores snapshots.

Runs pending CQL migrations and applies resource schema changes.

Generates an Ash Resource template backed by AshScylla.

Sets up the ScyllaDB keyspace for AshScylla.