1
1
import { Aggregation } from "./aggregation.js" ;
2
2
import { CombiningType } from "./combiningType.js" ;
3
3
import Location from "./location.js" ;
4
+ import { DatumRollupType } from "../domain/datumRollupType.js" ;
4
5
import { default as PropMap , PropMapUriEncodingCallbackFn } from "../util/propMap.js" ;
5
6
/** An enumeration of datum filter keys. */
6
7
declare enum DatumFilterKeys {
@@ -26,6 +27,8 @@ declare enum DatumFilterKeys {
26
27
PropertyName = "propertyName" ,
27
28
PropertyNames = "propertyNames" ,
28
29
Query = "query" ,
30
+ RollupType = "rollupType" ,
31
+ RollupTypes = "rollupTypes" ,
29
32
SourceIdMaps = "sourceIdMaps" ,
30
33
SourceId = "sourceId" ,
31
34
SourceIds = "sourceIds" ,
@@ -220,6 +223,19 @@ declare class DatumFilter extends PropMap implements DatumFilterProperties {
220
223
*/
221
224
get sourceIdMaps ( ) : Map < string , Set < string > > | undefined ;
222
225
set sourceIdMaps ( map : Map < string , Set < string > > | null ) ;
226
+ /**
227
+ * Get the rollup type.
228
+ *
229
+ * Use this with reading queries on aggregate values to rollup the results.
230
+ * Set to `null` to remove.
231
+ */
232
+ get rollupType ( ) : DatumRollupType | undefined ;
233
+ set rollupType ( rollup : DatumRollupType | null ) ;
234
+ /**
235
+ * An array of rollup types. Set to `null` to remove.
236
+ */
237
+ get rollupTypes ( ) : DatumRollupType [ ] | undefined ;
238
+ set rollupTypes ( rollups : DatumRollupType [ ] | null ) ;
223
239
/**
224
240
* A property name.
225
241
*
0 commit comments