export var AggregateType;
(function (AggregateType) {
    AggregateType[AggregateType["SUM"] = 1] = "SUM";
    AggregateType[AggregateType["COUNT"] = 2] = "COUNT";
    AggregateType[AggregateType["CARDINALITY"] = 3] = "CARDINALITY";
    AggregateType[AggregateType["STDDEV"] = 4] = "STDDEV";
    AggregateType[AggregateType["AVERAGE"] = 5] = "AVERAGE";
    AggregateType[AggregateType["VARIANCE"] = 6] = "VARIANCE";
    AggregateType[AggregateType["MAX"] = 7] = "MAX";
    AggregateType[AggregateType["MIN"] = 8] = "MIN";
})(AggregateType || (AggregateType = {}));
export const aggregateTypeMap = new Map([
    [
        AggregateType.CARDINALITY,
        { resultsSize: 4, accumulatorSize: 254 /* AccumulatorSize.CARDINALITY */ },
    ],
    [
        AggregateType.COUNT,
        { resultsSize: 4, accumulatorSize: 4 /* AccumulatorSize.COUNT */ },
    ],
    [
        AggregateType.STDDEV,
        { resultsSize: 8, accumulatorSize: 24 /* AccumulatorSize.STDDEV */ },
    ],
    [
        AggregateType.AVERAGE,
        { resultsSize: 8, accumulatorSize: 16 /* AccumulatorSize.AVERAGE */ },
    ],
    [
        AggregateType.VARIANCE,
        { resultsSize: 8, accumulatorSize: 24 /* AccumulatorSize.VARIANCE */ },
    ],
    // Othe types like MAX, MIN, SUM fall in the else case in aggregation.ts 8/8
]);
//# sourceMappingURL=types.js.map