StatementBuilder
Builds BoundStatement instances for all CRUD operations.
Prepared statements are cached in a bounded LRU cache keyed by CQL string. Idempotency is set per statement type — SELECT and DELETE are idempotent; plain INSERT and collection mutations are not (to prevent duplicate writes on retry).
Constructors
Functions
Suspend counterpart of appendToCollection (GH #27 / ISS-049) — see prepareSuspend.
Suspend counterpart of counterUpdate (GH #27 / ISS-049) — see prepareSuspend.
Suspend counterpart of deleteById (GH #27 / ISS-049) — see prepareSuspend.
Suspend counterpart of deleteLookup (GH #27 / ISS-049) — see prepareSuspend.
schema is only needed to source the entity's cached io.kandra.core.schema.EntityReflection property map (resolved once at io.kandra.core.SchemaRegistry.register time) — entity is always an instance of schema's entityClass.
Suspend counterpart of insertLookup (GH #27 / ISS-049) — see prepareSuspend.
Suspend counterpart of insertPrimary (GH #27 / ISS-049) — see prepareSuspend.
Same as insertPrimary but binds null as actual null (creates tombstones). Use when the caller explicitly wants to clear optional columns.
Suspend counterpart of insertPrimaryWithNulls (GH #27 / ISS-049) — see prepareSuspend.
Suspend counterpart of removeFromCollection (GH #27 / ISS-049) — see prepareSuspend.
Suspend counterpart of selectById (GH #27 / ISS-049) — see prepareSuspend.
Suspend counterpart of selectByLookup (GH #27 / ISS-049) — see prepareSuspend.
Suspend counterpart of selectByPartitionKeyIn (GH #27 / ISS-049) — see prepareSuspend.