GENIE
|
#include <single_value.h>
Public Member Functions | |
virtual std::shared_ptr< genie::table::inv_table > | BuildTable (const genie::TableData &table_data) override final |
Builds the inverted index with the given data. More... | |
virtual std::vector< genie::query::Query > | BuildQuery (const std::shared_ptr< const genie::table::inv_table > &table, const genie::QueryData &query_data) override final |
Builds the queries with the given query data. More... | |
virtual genie::SearchResult | Match (const std::shared_ptr< const genie::table::inv_table > &table, const std::vector< genie::query::Query > &queries) override final |
Match the given queries on the table. More... | |
virtual genie::SearchResult | Match (const std::vector< std::shared_ptr< const genie::table::inv_table > > &table, const std::vector< std::vector< genie::query::Query > > &queries) override final |
Batched matching with multiple tables and queries for those tables. More... | |
![]() | |
virtual void | Validate () |
Checks whether the given search parameters are in valid range. More... | |
void | SetK (const uint32_t k) |
Sets K. More... | |
void | SetNumOfQueries (const uint32_t num_of_queries) |
Sets the number of query. More... | |
uint32_t | GetNumOfQueries () const |
Returns the number of query. More... | |
Friends | |
std::shared_ptr< genie::ExecutionPolicy > | genie::MakePolicy (const genie::Config &config) |
Additional Inherited Members | |
![]() | |
uint32_t | k_ |
uint32_t | dim_ |
uint32_t | num_of_queries_ |
Definition at line 11 of file single_value.h.
|
finaloverridevirtual |
Builds the queries with the given query data.
Implements genie::ExecutionPolicy.
Definition at line 17 of file single_value.cc.
|
finaloverridevirtual |
Builds the inverted index with the given data.
Implements genie::ExecutionPolicy.
Definition at line 10 of file single_value.cc.
|
finaloverridevirtual |
Match the given queries on the table.
Implements genie::ExecutionPolicy.
|
finaloverridevirtual |
Batched matching with multiple tables and queries for those tables.
Implements genie::ExecutionPolicy.
|
friend |