final UUID id; private final EventType type; private final String source; private final Date clientTimestamp; private final Date serverTimestamp; private final Map<String, Object> platformContext; private final Map<String, Object> businessContext; private final Map<String, Object> payload; private final List<String> tags; }
(tbucket, eventid)) with clustering order by (eventid asc); create table events_by_time_desc (tbucket text, eventid timeuuid, primary key (tbucket, eventid)) with clustering order by (eventid desc); Ascending and descending time buckets for each query type