DataStorm::MultiKeyReader< Key, Value, UpdateTag >::MultiKeyReader | ( | const Topic< Key, Value, UpdateTag > & | topic, |
const std::vector< Key > & | keys, | ||
const Filter< SampleFilterCriteria > & | sampleFilter, | ||
std::string | name = std::string(), | ||
const ReaderConfig & | config = ReaderConfig() ) |
Constructs a new reader for the given keys and sample filter criteria.
The construction of the reader connects the reader to writers with matching keys. If an empty vector of keys is provided, the reader will connect to all the available writers. The writer will only send samples matching the given sample filter criteria to the reader.
topic | The topic. |
keys | The keys of the data elements to read. |
sampleFilter | The sample filter. |
name | The optional reader name. |
config | The reader configuration. |
Definition at line 1137 of file DataStorm.h.