Files
Windshaft-cartodb/lib/cartodb/models/aggregation/base-aggregation.js
Javier Goizueta 2edcbb4724 Implement aggregation queries.
Implmented for placements: centroid, point-gird, point-sample.
Aggregated columns not yet implemented (only count).
Aggregation could be made more efficient by using quadkeys
2017-12-11 18:33:06 +01:00

13 lines
356 B
JavaScript

module.exports = class BaseAggregation {
constructor(query, resolution, threshold, placement, columns) {
this.query = query;
this.resolution = resolution;
this.threshold = threshold;
this.placement = placement;
this.columns = columns;
}
sql () {
throw new Error('Unimplemented method');
}
};