QueryExecutor
Translates QueryContext predicates into CQL SELECT statements and decodes results.
Lookup predicates trigger a two-step query:
Query the lookup table for the primary table's full key (partition + clustering columns).
Query the primary table by that full key.
@SecondaryIndex predicates query the primary table directly (no two-step needed). A WARN is logged each time a secondary index query executes.
IN on a single-column partition key is supported — a DEBUG message is logged since it causes scatter-gather across partitions (legitimate but worth tracking).
Constructors
Functions
Like findAll but only ever needs the first matching row — passes limitOne = true into resolveRows (GH #106 / ISS-093) so the direct-CQL branch appends LIMIT 1 instead of fetching up to maxUnpagedResultRows rows over the wire just to take the first. The IN and lookup-table branches are unaffected (limitOne isn't meaningful there — a lookup match is already exactly one row, and an IN scatter-gather ignores it, same as before).
Suspend counterpart of find — see its doc (GH #106 / ISS-093).