Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ makeMultiKeyReader() [1/2]

template<typename SFC, typename K, typename V, typename UT>
MultiKeyReader< K, V, UT > DataStorm::makeMultiKeyReader ( const Topic< K, V, UT > & topic,
const std::vector< typename Topic< K, V, UT >::KeyType > & keys,
const Filter< SFC > & sampleFilter,
std::string name = std::string(),
const ReaderConfig & config = ReaderConfig() )
nodiscard

Creates a multi-key reader for the given topic, keys and sample filter.

This helper method deduces the topic Key and Value types from the topic argument. The reader will only receive samples for the given set of keys.

Parameters
topicThe topic.
keysThe keys.
sampleFilterThe sample filter.
nameThe optional reader name.
configThe optional reader configuration.

Definition at line 599 of file DataStorm.h.