22 std::make_unique<ResultSetRecycler>();
24 std::make_unique<ChunkMetadataRecycler>();
44 const std::unordered_set<size_t>& input_table_keys,
46 size_t resultset_size,
47 std::vector<std::shared_ptr<Analyzer::Expr>>& target_exprs) {
55 query_result->getExecTime(),
67 const std::unordered_set<size_t>& input_table_keys,
69 if (!chunk_metadata_map.empty()) {
static std::unique_ptr< ResultSetRecycler > query_resultset_cache_
std::shared_ptr< ResultSet > ResultSetPtr
const ResultSetPtr getCachedQueryResultSet(const size_t key)
static std::unique_ptr< ChunkMetadataRecycler > chunk_metadata_cache_
bool hasCachedQueryResultSet(const size_t key)
void putChunkMetadataToCache(const size_t key, const std::unordered_set< size_t > &input_table_keys, const ChunkMetadataMap &chunk_metadata)
std::vector< std::shared_ptr< Analyzer::Expr > > & getTargetExprs(QueryPlanHash key) const
std::optional< std::vector< TargetMetaInfo > > getOutputMetaInfo(QueryPlanHash key)
std::optional< ChunkMetadataMap > getCachedChunkMetadata(const size_t key)
static constexpr DeviceIdentifier CPU_DEVICE_IDENTIFIER
void putQueryResultSetToCache(const size_t key, const std::unordered_set< size_t > &input_table_keys, const ResultSetPtr query_result, size_t resultset_size, std::vector< std::shared_ptr< Analyzer::Expr >> &target_exprs)