#include "souffle/TypeAttribute.h"
#include "souffle/utility/MiscUtil.h"
#include <cstdint>
#include <ostream>
#include <utility>
Go to the source code of this file.
|
enum | souffle::AggregateOp {
souffle::AggregateOp::MAX,
souffle::AggregateOp::MIN,
souffle::AggregateOp::SUM,
souffle::AggregateOp::FMAX,
souffle::AggregateOp::FMIN,
souffle::AggregateOp::FSUM,
souffle::AggregateOp::MEAN,
souffle::AggregateOp::UMAX,
souffle::AggregateOp::UMIN,
souffle::AggregateOp::USUM,
souffle::AggregateOp::COUNT
} |
| Types of aggregation functions. More...
|
|
◆ CASE_NUMERIC
#define CASE_NUMERIC |
( |
|
op | ) |
|
Value: case AggregateOp::op: \
if (
type == TypeAttribute::Signed)
return AggregateOp::op; \
if (
type == TypeAttribute::Unsigned)
return AggregateOp::U##op; \
if (
type == TypeAttribute::Float)
return AggregateOp::F##op; \
fatal("invalid overload");