Skip to main content

Query

Trait Query 

Source
pub trait Query: Sealed {
    type Result: 'static;
}
Expand description

A typed IQv2 query. Result is the type that KafkaStreams::query returns per partition. This trait is sealed, so only the in-crate query types implement it.

Required Associated Types§

Source

type Result: 'static

What a successful QueryResult carries.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<K: Send + Sync + 'static, V: 'static> Query for KeyQuery<K, V>

Source§

impl<K: Send + Sync + 'static, V: 'static> Query for MultiVersionedKeyQuery<K, V>

Source§

impl<K: Send + Sync + 'static, V: 'static> Query for RangeQuery<K, V>

Source§

impl<K: Send + Sync + 'static, V: 'static> Query for VersionedKeyQuery<K, V>

Source§

impl<K: Send + Sync + 'static, V: 'static> Query for WindowKeyQuery<K, V>

Source§

type Result = Vec<(i64, V)>

Source§

impl<K: Send + Sync + 'static, V: 'static> Query for WindowRangeQuery<K, V>

Source§

type Result = Vec<((K, i64), V)>