Expand description
IQv2 query objects. Each builder lowers to a store::iq::Iq2Query with no
serde, and the store supplies the actual serdes.
Structs§
- KeyQuery
- Single-key lookup. Result:
Option<V>. - Multi
Versioned KeyQuery - All versions of a key whose validity overlaps
[from_time, to_time](KIP-968). ANonebound is unbounded on that side. The order is ascending byvalid_from, unless you callwith_descending_timestamps(). Result:Vec<VersionedRecord<V>>. - Range
Query - Key-range scan. A
Nonebound is unbounded on that side. Result:Vec<(K,V)>. - Versioned
KeyQuery - Single versioned-key lookup (KIP-960).
as_of = Nonegives the latest live version. Result:Option<VersionedRecord<V>>. - Window
KeyQuery - One key, window starts in
[from_time, to_time]. Result:Vec<(i64, V)>. - Window
Range Query - Key range by window-start range. Result:
Vec<((K, i64), V)>.
Traits§
- Query
- A typed
IQv2query.Resultis the type thatKafkaStreams::queryreturns per partition. This trait is sealed, so only the in-crate query types implement it.