23 #ifndef QUERYENGINE_OUTPUTBUFFERINITIALIZATION_H
24 #define QUERYENGINE_OUTPUTBUFFERINITIALIZATION_H
45 const bool enable_compaction,
46 const unsigned min_byte_width_to_compact);
49 const std::vector<Analyzer::Expr*>& targets,
50 const std::list<std::shared_ptr<Analyzer::Expr>>& quals,
53 std::vector<int64_t>
init_agg_val_vec(
const std::vector<TargetInfo>& targets,
59 const std::list<std::shared_ptr<Analyzer::Expr>>& quals);
63 #endif // QUERYENGINE_OUTPUTBUFFERINITIALIZATION_H
const Analyzer::Expr * agg_arg(const Analyzer::Expr *expr)
bool constrained_not_null(const Analyzer::Expr *expr, const std::list< std::shared_ptr< Analyzer::Expr >> &quals)
int64_t get_agg_initial_val(const SQLAgg agg, const SQLTypeInfo &ti, const bool enable_compaction, const unsigned min_byte_width_to_compact)
std::pair< uint64_t, uint64_t > inline_uint_max_min(const size_t byte_width)
std::pair< int64_t, int64_t > inline_int_max_min(const size_t byte_width)
std::vector< int64_t > init_agg_val_vec(const std::vector< TargetInfo > &targets, const QueryMemoryDescriptor &query_mem_desc)
void set_notnull(TargetInfo &target, const bool not_null)