Package-level declarations

Types

Link copied to clipboard
class KandraColumnRef<T>(val cqlName: String, val isLookup: Boolean = false)

Type-safe reference to a CQL column. Produced by kandra-codegen or constructed manually.

Link copied to clipboard
data class KandraPage<T>(val items: List<T>, val nextPageToken: String?, val hasMore: Boolean)

A single page of query results with a token for fetching the next page.

Link copied to clipboard
sealed class KandraPredicate

Represents a single WHERE clause predicate in a Kandra query.

Link copied to clipboard

Safe parameterised CQL query builder — use instead of string interpolation in raw.

Link copied to clipboard
class KandraRawQueryBuilder(template: String)
Link copied to clipboard
interface KandraTable<T>

Marker interface implemented by generated table objects (e.g. UserTable).

Link copied to clipboard

DSL receiver for building query predicates and limit.