11import { Aggregation } from "./aggregation.js" ;
22import { CombiningType } from "./combiningType.js" ;
33import Location from "./location.js" ;
4+ import { DatumRollupType } from "../domain/datumRollupType.js" ;
45import { default as PropMap , PropMapUriEncodingCallbackFn } from "../util/propMap.js" ;
56/** An enumeration of datum filter keys. */
67declare enum DatumFilterKeys {
@@ -26,6 +27,8 @@ declare enum DatumFilterKeys {
2627 PropertyName = "propertyName" ,
2728 PropertyNames = "propertyNames" ,
2829 Query = "query" ,
30+ RollupType = "rollupType" ,
31+ RollupTypes = "rollupTypes" ,
2932 SourceIdMaps = "sourceIdMaps" ,
3033 SourceId = "sourceId" ,
3134 SourceIds = "sourceIds" ,
@@ -220,6 +223,19 @@ declare class DatumFilter extends PropMap implements DatumFilterProperties {
220223 */
221224 get sourceIdMaps ( ) : Map < string , Set < string > > | undefined ;
222225 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 ) ;
223239 /**
224240 * A property name.
225241 *
0 commit comments