@finos/legend-data-cube 0.0.36 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/__lib__/DataCubeDocumentation.d.ts +7 -7
- package/lib/__lib__/DataCubeDocumentation.d.ts.map +1 -1
- package/lib/__lib__/DataCubeDocumentation.js +9 -9
- package/lib/__lib__/DataCubeDocumentation.js.map +1 -1
- package/lib/__lib__/DataCubeEvent.d.ts +21 -0
- package/lib/__lib__/DataCubeEvent.d.ts.map +1 -0
- package/lib/__lib__/DataCubeEvent.js +22 -0
- package/lib/__lib__/DataCubeEvent.js.map +1 -0
- package/lib/__lib__/DataCubeSetting.d.ts +24 -0
- package/lib/__lib__/DataCubeSetting.d.ts.map +1 -0
- package/lib/__lib__/DataCubeSetting.js +25 -0
- package/lib/__lib__/DataCubeSetting.js.map +1 -0
- package/lib/components/DataCube.d.ts +3 -1
- package/lib/components/DataCube.d.ts.map +1 -1
- package/lib/components/DataCube.js +32 -39
- package/lib/components/DataCube.js.map +1 -1
- package/lib/components/DataCubePlaceholder.d.ts +40 -0
- package/lib/components/DataCubePlaceholder.d.ts.map +1 -0
- package/lib/components/DataCubePlaceholder.js +34 -0
- package/lib/components/DataCubePlaceholder.js.map +1 -0
- package/lib/components/DataCubeProvider.js +1 -1
- package/lib/components/DataCubeProvider.js.map +1 -1
- package/lib/components/DataCubeStatusBar.d.ts +24 -0
- package/lib/components/DataCubeStatusBar.d.ts.map +1 -0
- package/lib/components/DataCubeStatusBar.js +30 -0
- package/lib/components/DataCubeStatusBar.js.map +1 -0
- package/lib/components/DataCubeTitleBar.d.ts +24 -0
- package/lib/components/DataCubeTitleBar.d.ts.map +1 -0
- package/lib/components/DataCubeTitleBar.js +36 -0
- package/lib/components/DataCubeTitleBar.js.map +1 -0
- package/lib/components/DataCubeView.d.ts.map +1 -1
- package/lib/components/DataCubeView.js +10 -12
- package/lib/components/DataCubeView.js.map +1 -1
- package/lib/components/core/DataCubeAlert.d.ts +1 -21
- package/lib/components/core/DataCubeAlert.d.ts.map +1 -1
- package/lib/components/core/DataCubeAlert.js +4 -55
- package/lib/components/core/DataCubeAlert.js.map +1 -1
- package/lib/components/core/DataCubeDocumentationPanel.js +1 -1
- package/lib/components/core/DataCubeDocumentationPanel.js.map +1 -1
- package/lib/components/core/DataCubeFormUtils.d.ts +26 -0
- package/lib/components/core/DataCubeFormUtils.d.ts.map +1 -1
- package/lib/components/core/DataCubeFormUtils.js +135 -12
- package/lib/components/core/DataCubeFormUtils.js.map +1 -1
- package/lib/components/core/{DataCubeLayoutManager.d.ts → DataCubeLayout.d.ts} +5 -5
- package/lib/components/core/DataCubeLayout.d.ts.map +1 -0
- package/lib/components/core/{DataCubeLayoutManager.js → DataCubeLayout.js} +15 -6
- package/lib/components/core/DataCubeLayout.js.map +1 -0
- package/lib/components/core/DataCubePureCodeEditorUtils.d.ts +3 -2
- package/lib/components/core/DataCubePureCodeEditorUtils.d.ts.map +1 -1
- package/lib/components/core/DataCubePureCodeEditorUtils.js +2 -2
- package/lib/components/core/DataCubePureCodeEditorUtils.js.map +1 -1
- package/lib/components/core/DataCubeSettingsPanel.d.ts.map +1 -1
- package/lib/components/core/DataCubeSettingsPanel.js +53 -27
- package/lib/components/core/DataCubeSettingsPanel.js.map +1 -1
- package/lib/components/view/editor/DataCubeEditor.d.ts.map +1 -1
- package/lib/components/view/editor/DataCubeEditor.js +11 -8
- package/lib/components/view/editor/DataCubeEditor.js.map +1 -1
- package/lib/components/view/editor/DataCubeEditorColumnPropertiesPanel.d.ts.map +1 -1
- package/lib/components/view/editor/DataCubeEditorColumnPropertiesPanel.js +18 -17
- package/lib/components/view/editor/DataCubeEditorColumnPropertiesPanel.js.map +1 -1
- package/lib/components/view/editor/DataCubeEditorColumnsPanel.d.ts.map +1 -1
- package/lib/components/view/editor/DataCubeEditorColumnsPanel.js +6 -5
- package/lib/components/view/editor/DataCubeEditorColumnsPanel.js.map +1 -1
- package/lib/components/view/editor/DataCubeEditorGeneralPropertiesPanel.d.ts.map +1 -1
- package/lib/components/view/editor/DataCubeEditorGeneralPropertiesPanel.js +4 -4
- package/lib/components/view/editor/DataCubeEditorGeneralPropertiesPanel.js.map +1 -1
- package/lib/components/view/extend/DataCubeColumnEditor.d.ts.map +1 -1
- package/lib/components/view/extend/DataCubeColumnEditor.js +22 -20
- package/lib/components/view/extend/DataCubeColumnEditor.js.map +1 -1
- package/lib/components/view/filter/DataCubeFilterEditor.d.ts.map +1 -1
- package/lib/components/view/filter/DataCubeFilterEditor.js +8 -6
- package/lib/components/view/filter/DataCubeFilterEditor.js.map +1 -1
- package/lib/components/view/grid/DataCubeGrid.d.ts.map +1 -1
- package/lib/components/view/grid/DataCubeGrid.js +7 -7
- package/lib/components/view/grid/DataCubeGrid.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +16 -8
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +16 -8
- package/lib/index.js.map +1 -1
- package/lib/package.json +2 -2
- package/lib/stores/DataCubeAPI.d.ts +36 -3
- package/lib/stores/DataCubeAPI.d.ts.map +1 -1
- package/lib/stores/DataCubeAPI.js +29 -1
- package/lib/stores/DataCubeAPI.js.map +1 -1
- package/lib/stores/DataCubeOptions.d.ts +84 -9
- package/lib/stores/DataCubeOptions.d.ts.map +1 -1
- package/lib/stores/DataCubeState.d.ts +29 -23
- package/lib/stores/DataCubeState.d.ts.map +1 -1
- package/lib/stores/DataCubeState.js +65 -87
- package/lib/stores/DataCubeState.js.map +1 -1
- package/lib/stores/core/DataCubeConfigurationBuilder.d.ts +2 -2
- package/lib/stores/core/DataCubeConfigurationBuilder.d.ts.map +1 -1
- package/lib/stores/core/DataCubeConfigurationBuilder.js +1 -1
- package/lib/stores/core/DataCubeConfigurationBuilder.js.map +1 -1
- package/lib/stores/core/DataCubeEngine.d.ts +23 -50
- package/lib/stores/core/DataCubeEngine.d.ts.map +1 -1
- package/lib/stores/core/DataCubeEngine.js +15 -98
- package/lib/stores/core/DataCubeEngine.js.map +1 -1
- package/lib/stores/core/DataCubeQueryBuilder.d.ts +3 -2
- package/lib/stores/core/DataCubeQueryBuilder.d.ts.map +1 -1
- package/lib/stores/core/DataCubeQueryBuilder.js +1 -1
- package/lib/stores/core/DataCubeQueryBuilder.js.map +1 -1
- package/lib/stores/core/DataCubeQueryBuilderUtils.d.ts +5 -2
- package/lib/stores/core/DataCubeQueryBuilderUtils.d.ts.map +1 -1
- package/lib/stores/core/DataCubeQueryBuilderUtils.js +14 -3
- package/lib/stores/core/DataCubeQueryBuilderUtils.js.map +1 -1
- package/lib/stores/core/DataCubeQueryEngine.d.ts +26 -26
- package/lib/stores/core/DataCubeQueryEngine.d.ts.map +1 -1
- package/lib/stores/core/DataCubeQuerySnapshot.d.ts +2 -2
- package/lib/stores/core/DataCubeQuerySnapshot.d.ts.map +1 -1
- package/lib/stores/core/DataCubeQuerySnapshotBuilder.d.ts +2 -2
- package/lib/stores/core/DataCubeQuerySnapshotBuilder.d.ts.map +1 -1
- package/lib/stores/core/DataCubeQuerySnapshotBuilder.js +57 -40
- package/lib/stores/core/DataCubeQuerySnapshotBuilder.js.map +1 -1
- package/lib/stores/core/DataCubeQuerySnapshotBuilderUtils.d.ts +1 -1
- package/lib/stores/core/DataCubeQuerySnapshotBuilderUtils.d.ts.map +1 -1
- package/lib/stores/core/DataCubeQuerySnapshotBuilderUtils.js +5 -5
- package/lib/stores/core/DataCubeQuerySnapshotBuilderUtils.js.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Average.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Average.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Count.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Count.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__First.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__First.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Last.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Last.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Max.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Max.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Min.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Min.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Sum.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Sum.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.d.ts.map +1 -1
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.d.ts +2 -2
- package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterEditorState.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterEditorState.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__Contain.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__Contain.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWith.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWith.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__Equal.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__Equal.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNotNull.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNotNull.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNull.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNull.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThan.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThan.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanColumn.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanColumn.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotContain.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotContain.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEndWith.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEndWith.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqual.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqual.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotStartWith.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotStartWith.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWith.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWith.d.ts.map +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.d.ts +1 -1
- package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.d.ts.map +1 -1
- package/lib/stores/core/model/AdhocQueryDataCubeSource.d.ts +29 -0
- package/lib/stores/core/model/AdhocQueryDataCubeSource.d.ts.map +1 -0
- package/lib/stores/core/model/AdhocQueryDataCubeSource.js +35 -0
- package/lib/stores/core/model/AdhocQueryDataCubeSource.js.map +1 -0
- package/lib/stores/core/model/DataCubeColumn.d.ts.map +1 -0
- package/lib/stores/core/model/DataCubeColumn.js.map +1 -0
- package/lib/stores/core/model/DataCubeConfiguration.d.ts.map +1 -0
- package/lib/stores/core/model/DataCubeConfiguration.js.map +1 -0
- package/lib/stores/core/model/DataCubeQuery.d.ts.map +1 -0
- package/lib/stores/core/model/DataCubeQuery.js.map +1 -0
- package/lib/stores/core/{models → model}/DataCubeSource.d.ts +1 -1
- package/lib/stores/core/model/DataCubeSource.d.ts.map +1 -0
- package/lib/stores/core/{models → model}/DataCubeSource.js +1 -1
- package/lib/stores/core/model/DataCubeSource.js.map +1 -0
- package/lib/stores/services/DataCubeAlertService.d.ts +56 -0
- package/lib/stores/services/DataCubeAlertService.d.ts.map +1 -0
- package/lib/stores/services/DataCubeAlertService.js +89 -0
- package/lib/stores/services/DataCubeAlertService.js.map +1 -0
- package/lib/stores/services/DataCubeDocumentationService.d.ts +29 -0
- package/lib/stores/services/DataCubeDocumentationService.d.ts.map +1 -0
- package/lib/stores/services/DataCubeDocumentationService.js +41 -0
- package/lib/stores/services/DataCubeDocumentationService.js.map +1 -0
- package/lib/stores/{core/DataCubeLayoutManagerState.d.ts → services/DataCubeLayoutService.d.ts} +28 -7
- package/lib/stores/services/DataCubeLayoutService.d.ts.map +1 -0
- package/lib/stores/{core/DataCubeLayoutManagerState.js → services/DataCubeLayoutService.js} +58 -21
- package/lib/stores/services/DataCubeLayoutService.js.map +1 -0
- package/lib/stores/services/DataCubeLogService.d.ts +29 -0
- package/lib/stores/services/DataCubeLogService.d.ts.map +1 -0
- package/lib/stores/services/DataCubeLogService.js +43 -0
- package/lib/stores/services/DataCubeLogService.js.map +1 -0
- package/lib/stores/services/DataCubeNavigationService.d.ts +22 -0
- package/lib/stores/services/DataCubeNavigationService.d.ts.map +1 -0
- package/lib/stores/services/DataCubeNavigationService.js +25 -0
- package/lib/stores/services/DataCubeNavigationService.js.map +1 -0
- package/lib/stores/{view/DataCubeQuerySnapshotManager.d.ts → services/DataCubeQuerySnapshotService.d.ts} +18 -13
- package/lib/stores/services/DataCubeQuerySnapshotService.d.ts.map +1 -0
- package/lib/stores/{view/DataCubeQuerySnapshotManager.js → services/DataCubeQuerySnapshotService.js} +42 -29
- package/lib/stores/services/DataCubeQuerySnapshotService.js.map +1 -0
- package/lib/stores/services/DataCubeSettingService.d.ts +75 -0
- package/lib/stores/services/DataCubeSettingService.d.ts.map +1 -0
- package/lib/stores/services/DataCubeSettingService.js +312 -0
- package/lib/stores/services/DataCubeSettingService.js.map +1 -0
- package/lib/stores/services/DataCubeTaskService.d.ts +41 -0
- package/lib/stores/services/DataCubeTaskService.d.ts.map +1 -0
- package/lib/stores/services/DataCubeTaskService.js +84 -0
- package/lib/stores/services/DataCubeTaskService.js.map +1 -0
- package/lib/stores/services/DataCubeTelemetryService.d.ts +23 -0
- package/lib/stores/services/DataCubeTelemetryService.d.ts.map +1 -0
- package/lib/stores/services/DataCubeTelemetryService.js +25 -0
- package/lib/stores/services/DataCubeTelemetryService.js.map +1 -0
- package/lib/stores/view/DataCubeInfoState.d.ts +2 -1
- package/lib/stores/view/DataCubeInfoState.d.ts.map +1 -1
- package/lib/stores/view/DataCubeInfoState.js +10 -4
- package/lib/stores/view/DataCubeInfoState.js.map +1 -1
- package/lib/stores/view/DataCubeViewState.d.ts +20 -19
- package/lib/stores/view/DataCubeViewState.d.ts.map +1 -1
- package/lib/stores/view/DataCubeViewState.js +47 -57
- package/lib/stores/view/DataCubeViewState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorColumnPropertiesPanelState.d.ts +2 -4
- package/lib/stores/view/editor/DataCubeEditorColumnPropertiesPanelState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorColumnPropertiesPanelState.js +3 -5
- package/lib/stores/view/editor/DataCubeEditorColumnPropertiesPanelState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorColumnSelectorState.d.ts +1 -3
- package/lib/stores/view/editor/DataCubeEditorColumnSelectorState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorColumnSelectorState.js +3 -5
- package/lib/stores/view/editor/DataCubeEditorColumnSelectorState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorColumnsPanelState.d.ts +2 -4
- package/lib/stores/view/editor/DataCubeEditorColumnsPanelState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorColumnsPanelState.js +15 -17
- package/lib/stores/view/editor/DataCubeEditorColumnsPanelState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorGeneralPropertiesPanelState.d.ts +1 -4
- package/lib/stores/view/editor/DataCubeEditorGeneralPropertiesPanelState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorGeneralPropertiesPanelState.js +0 -4
- package/lib/stores/view/editor/DataCubeEditorGeneralPropertiesPanelState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorHorizontalPivotsPanelState.d.ts +3 -5
- package/lib/stores/view/editor/DataCubeEditorHorizontalPivotsPanelState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorHorizontalPivotsPanelState.js +7 -9
- package/lib/stores/view/editor/DataCubeEditorHorizontalPivotsPanelState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorMutableConfiguration.d.ts +1 -1
- package/lib/stores/view/editor/DataCubeEditorMutableConfiguration.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorMutableConfiguration.js +1 -1
- package/lib/stores/view/editor/DataCubeEditorMutableConfiguration.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorPanelState.d.ts +1 -1
- package/lib/stores/view/editor/DataCubeEditorPanelState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorPivotLayoutPanelState.d.ts +2 -4
- package/lib/stores/view/editor/DataCubeEditorPivotLayoutPanelState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorPivotLayoutPanelState.js +3 -5
- package/lib/stores/view/editor/DataCubeEditorPivotLayoutPanelState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorSortsPanelState.d.ts +1 -4
- package/lib/stores/view/editor/DataCubeEditorSortsPanelState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorSortsPanelState.js +10 -14
- package/lib/stores/view/editor/DataCubeEditorSortsPanelState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorState.d.ts +4 -3
- package/lib/stores/view/editor/DataCubeEditorState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorState.js +11 -9
- package/lib/stores/view/editor/DataCubeEditorState.js.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorVerticalPivotsPanelState.d.ts +1 -4
- package/lib/stores/view/editor/DataCubeEditorVerticalPivotsPanelState.d.ts.map +1 -1
- package/lib/stores/view/editor/DataCubeEditorVerticalPivotsPanelState.js +4 -8
- package/lib/stores/view/editor/DataCubeEditorVerticalPivotsPanelState.js.map +1 -1
- package/lib/stores/view/extend/DataCubeColumnEditorState.d.ts +4 -4
- package/lib/stores/view/extend/DataCubeColumnEditorState.d.ts.map +1 -1
- package/lib/stores/view/extend/DataCubeColumnEditorState.js +22 -22
- package/lib/stores/view/extend/DataCubeColumnEditorState.js.map +1 -1
- package/lib/stores/view/extend/DataCubeExtendManagerState.d.ts +7 -6
- package/lib/stores/view/extend/DataCubeExtendManagerState.d.ts.map +1 -1
- package/lib/stores/view/extend/DataCubeExtendManagerState.js +18 -20
- package/lib/stores/view/extend/DataCubeExtendManagerState.js.map +1 -1
- package/lib/stores/view/filter/DataCubeFilterEditorState.d.ts +4 -3
- package/lib/stores/view/filter/DataCubeFilterEditorState.d.ts.map +1 -1
- package/lib/stores/view/filter/DataCubeFilterEditorState.js +8 -6
- package/lib/stores/view/filter/DataCubeFilterEditorState.js.map +1 -1
- package/lib/stores/view/grid/DataCubeGridClientEngine.d.ts +6 -4
- package/lib/stores/view/grid/DataCubeGridClientEngine.d.ts.map +1 -1
- package/lib/stores/view/grid/DataCubeGridClientEngine.js +46 -35
- package/lib/stores/view/grid/DataCubeGridClientEngine.js.map +1 -1
- package/lib/stores/view/grid/DataCubeGridClientExportEngine.d.ts +1 -3
- package/lib/stores/view/grid/DataCubeGridClientExportEngine.d.ts.map +1 -1
- package/lib/stores/view/grid/DataCubeGridClientExportEngine.js +7 -9
- package/lib/stores/view/grid/DataCubeGridClientExportEngine.js.map +1 -1
- package/lib/stores/view/grid/DataCubeGridConfigurationBuilder.d.ts +2 -2
- package/lib/stores/view/grid/DataCubeGridConfigurationBuilder.d.ts.map +1 -1
- package/lib/stores/view/grid/DataCubeGridConfigurationBuilder.js +5 -5
- package/lib/stores/view/grid/DataCubeGridConfigurationBuilder.js.map +1 -1
- package/lib/stores/view/grid/DataCubeGridControllerState.d.ts +8 -6
- package/lib/stores/view/grid/DataCubeGridControllerState.d.ts.map +1 -1
- package/lib/stores/view/grid/DataCubeGridControllerState.js +8 -3
- package/lib/stores/view/grid/DataCubeGridControllerState.js.map +1 -1
- package/lib/stores/view/grid/DataCubeGridMenuBuilder.d.ts.map +1 -1
- package/lib/stores/view/grid/DataCubeGridMenuBuilder.js +7 -7
- package/lib/stores/view/grid/DataCubeGridMenuBuilder.js.map +1 -1
- package/lib/stores/view/grid/DataCubeGridQueryBuilder.d.ts +1 -1
- package/lib/stores/view/grid/DataCubeGridQueryBuilder.d.ts.map +1 -1
- package/lib/stores/view/grid/DataCubeGridQueryBuilder.js +3 -3
- package/lib/stores/view/grid/DataCubeGridQueryBuilder.js.map +1 -1
- package/lib/stores/view/grid/DataCubeGridQuerySnapshotBuilder.d.ts +2 -2
- package/lib/stores/view/grid/DataCubeGridQuerySnapshotBuilder.d.ts.map +1 -1
- package/lib/stores/view/grid/DataCubeGridQuerySnapshotBuilder.js +2 -2
- package/lib/stores/view/grid/DataCubeGridQuerySnapshotBuilder.js.map +1 -1
- package/lib/stores/view/grid/DataCubeGridState.d.ts +4 -2
- package/lib/stores/view/grid/DataCubeGridState.d.ts.map +1 -1
- package/lib/stores/view/grid/DataCubeGridState.js +18 -11
- package/lib/stores/view/grid/DataCubeGridState.js.map +1 -1
- package/package.json +6 -6
- package/src/__lib__/DataCubeDocumentation.ts +7 -7
- package/src/__lib__/DataCubeEvent.ts +21 -0
- package/src/__lib__/DataCubeSetting.ts +24 -0
- package/src/components/DataCube.tsx +61 -85
- package/src/components/DataCubePlaceholder.tsx +97 -0
- package/src/components/DataCubeProvider.tsx +1 -1
- package/src/components/DataCubeStatusBar.tsx +71 -0
- package/src/components/DataCubeTitleBar.tsx +81 -0
- package/src/components/DataCubeView.tsx +20 -44
- package/src/components/core/DataCubeAlert.tsx +15 -104
- package/src/components/core/DataCubeDocumentationPanel.tsx +1 -1
- package/src/components/core/DataCubeFormUtils.tsx +256 -24
- package/src/components/core/{DataCubeLayoutManager.tsx → DataCubeLayout.tsx} +33 -22
- package/src/components/core/DataCubePureCodeEditorUtils.tsx +9 -5
- package/src/components/core/DataCubeSettingsPanel.tsx +166 -134
- package/src/components/view/editor/DataCubeEditor.tsx +18 -19
- package/src/components/view/editor/DataCubeEditorColumnPropertiesPanel.tsx +24 -22
- package/src/components/view/editor/DataCubeEditorColumnsPanel.tsx +14 -18
- package/src/components/view/editor/DataCubeEditorGeneralPropertiesPanel.tsx +6 -5
- package/src/components/view/extend/DataCubeColumnEditor.tsx +43 -38
- package/src/components/view/filter/DataCubeFilterEditor.tsx +14 -20
- package/src/components/view/grid/DataCubeGrid.tsx +9 -8
- package/src/index.tsx +30 -8
- package/src/stores/DataCubeAPI.ts +58 -3
- package/src/stores/DataCubeOptions.ts +108 -15
- package/src/stores/DataCubeState.tsx +93 -123
- package/src/stores/core/DataCubeConfigurationBuilder.ts +2 -2
- package/src/stores/core/DataCubeEngine.tsx +51 -234
- package/src/stores/core/DataCubeQueryBuilder.ts +3 -2
- package/src/stores/core/DataCubeQueryBuilderUtils.ts +19 -2
- package/src/stores/core/DataCubeQueryEngine.ts +27 -27
- package/src/stores/core/DataCubeQuerySnapshot.ts +2 -2
- package/src/stores/core/DataCubeQuerySnapshotBuilder.ts +77 -42
- package/src/stores/core/DataCubeQuerySnapshotBuilderUtils.ts +5 -5
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation.ts +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Average.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Count.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__First.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Last.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Max.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Min.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Sum.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.tsx +2 -2
- package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.tsx +2 -2
- package/src/stores/core/filter/DataCubeQueryFilterEditorState.ts +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation.ts +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__Contain.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__EndWith.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__Equal.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__IsNotNull.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__IsNull.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__LessThan.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__LessThanColumn.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__NotContain.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEndWith.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEqual.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__NotStartWith.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__StartWith.tsx +1 -1
- package/src/stores/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.tsx +1 -1
- package/src/stores/core/model/AdhocQueryDataCubeSource.ts +45 -0
- package/src/stores/core/{models → model}/DataCubeSource.ts +1 -1
- package/src/stores/services/DataCubeAlertService.tsx +169 -0
- package/src/stores/services/DataCubeDocumentationService.tsx +74 -0
- package/src/stores/{core/DataCubeLayoutManagerState.ts → services/DataCubeLayoutService.tsx} +96 -23
- package/src/stores/services/DataCubeLogService.ts +54 -0
- package/src/stores/services/DataCubeNavigationService.ts +29 -0
- package/src/stores/{view/DataCubeQuerySnapshotManager.ts → services/DataCubeQuerySnapshotService.ts} +62 -40
- package/src/stores/services/DataCubeSettingService.tsx +489 -0
- package/src/stores/services/DataCubeTaskService.ts +102 -0
- package/src/stores/services/DataCubeTelemetryService.ts +30 -0
- package/src/stores/view/DataCubeInfoState.ts +12 -4
- package/src/stores/view/DataCubeViewState.ts +60 -68
- package/src/stores/view/editor/DataCubeEditorColumnPropertiesPanelState.ts +4 -6
- package/src/stores/view/editor/DataCubeEditorColumnSelectorState.ts +3 -6
- package/src/stores/view/editor/DataCubeEditorColumnsPanelState.ts +16 -18
- package/src/stores/view/editor/DataCubeEditorGeneralPropertiesPanelState.ts +1 -8
- package/src/stores/view/editor/DataCubeEditorHorizontalPivotsPanelState.ts +9 -11
- package/src/stores/view/editor/DataCubeEditorMutableConfiguration.ts +1 -1
- package/src/stores/view/editor/DataCubeEditorPanelState.ts +1 -1
- package/src/stores/view/editor/DataCubeEditorPivotLayoutPanelState.ts +4 -7
- package/src/stores/view/editor/DataCubeEditorSortsPanelState.ts +11 -16
- package/src/stores/view/editor/DataCubeEditorState.tsx +23 -15
- package/src/stores/view/editor/DataCubeEditorVerticalPivotsPanelState.ts +5 -10
- package/src/stores/view/extend/DataCubeColumnEditorState.tsx +30 -28
- package/src/stores/view/extend/DataCubeExtendManagerState.tsx +39 -30
- package/src/stores/view/filter/DataCubeFilterEditorState.tsx +11 -8
- package/src/stores/view/grid/DataCubeGridClientEngine.ts +69 -50
- package/src/stores/view/grid/DataCubeGridClientExportEngine.ts +7 -10
- package/src/stores/view/grid/DataCubeGridConfigurationBuilder.tsx +3 -6
- package/src/stores/view/grid/DataCubeGridControllerState.ts +11 -3
- package/src/stores/view/grid/DataCubeGridMenuBuilder.tsx +20 -8
- package/src/stores/view/grid/DataCubeGridQueryBuilder.ts +9 -3
- package/src/stores/view/grid/DataCubeGridQuerySnapshotBuilder.ts +2 -2
- package/src/stores/view/grid/DataCubeGridState.ts +37 -14
- package/tsconfig.json +20 -8
- package/lib/components/core/DataCubeLayoutManager.d.ts.map +0 -1
- package/lib/components/core/DataCubeLayoutManager.js.map +0 -1
- package/lib/stores/DataCubeSettings.d.ts +0 -42
- package/lib/stores/DataCubeSettings.d.ts.map +0 -1
- package/lib/stores/DataCubeSettings.js +0 -76
- package/lib/stores/DataCubeSettings.js.map +0 -1
- package/lib/stores/core/DataCubeLayoutManagerState.d.ts.map +0 -1
- package/lib/stores/core/DataCubeLayoutManagerState.js.map +0 -1
- package/lib/stores/core/models/DataCubeColumn.d.ts.map +0 -1
- package/lib/stores/core/models/DataCubeColumn.js.map +0 -1
- package/lib/stores/core/models/DataCubeConfiguration.d.ts.map +0 -1
- package/lib/stores/core/models/DataCubeConfiguration.js.map +0 -1
- package/lib/stores/core/models/DataCubeQuery.d.ts.map +0 -1
- package/lib/stores/core/models/DataCubeQuery.js.map +0 -1
- package/lib/stores/core/models/DataCubeSource.d.ts.map +0 -1
- package/lib/stores/core/models/DataCubeSource.js.map +0 -1
- package/lib/stores/view/DataCubeQuerySnapshotManager.d.ts.map +0 -1
- package/lib/stores/view/DataCubeQuerySnapshotManager.js.map +0 -1
- package/src/stores/DataCubeSettings.ts +0 -107
- /package/lib/stores/core/{models → model}/DataCubeColumn.d.ts +0 -0
- /package/lib/stores/core/{models → model}/DataCubeColumn.js +0 -0
- /package/lib/stores/core/{models → model}/DataCubeConfiguration.d.ts +0 -0
- /package/lib/stores/core/{models → model}/DataCubeConfiguration.js +0 -0
- /package/lib/stores/core/{models → model}/DataCubeQuery.d.ts +0 -0
- /package/lib/stores/core/{models → model}/DataCubeQuery.js +0 -0
- /package/src/stores/core/{models → model}/DataCubeColumn.ts +0 -0
- /package/src/stores/core/{models → model}/DataCubeConfiguration.ts +0 -0
- /package/src/stores/core/{models → model}/DataCubeQuery.ts +0 -0
|
@@ -53,13 +53,14 @@ import {
|
|
|
53
53
|
V1_createGenericTypeWithRawType,
|
|
54
54
|
V1_createRelationType,
|
|
55
55
|
V1_createRelationTypeColumn,
|
|
56
|
+
V1_serializeValueSpecification,
|
|
56
57
|
} from '@finos/legend-graph';
|
|
57
58
|
import {
|
|
58
59
|
type DataCubeQuerySnapshotFilterCondition,
|
|
59
60
|
type DataCubeQuerySnapshotFilter,
|
|
60
61
|
type DataCubeQuerySnapshot,
|
|
61
62
|
} from './DataCubeQuerySnapshot.js';
|
|
62
|
-
import { type DataCubeColumn } from './
|
|
63
|
+
import { type DataCubeColumn } from './model/DataCubeColumn.js';
|
|
63
64
|
import {
|
|
64
65
|
guaranteeNonNullable,
|
|
65
66
|
guaranteeIsString,
|
|
@@ -86,7 +87,7 @@ import type { DataCubeQueryAggregateOperation } from './aggregation/DataCubeQuer
|
|
|
86
87
|
import {
|
|
87
88
|
DataCubeColumnConfiguration,
|
|
88
89
|
type DataCubeConfiguration,
|
|
89
|
-
} from './
|
|
90
|
+
} from './model/DataCubeConfiguration.js';
|
|
90
91
|
|
|
91
92
|
// --------------------------------- UTILITIES ---------------------------------
|
|
92
93
|
|
|
@@ -117,6 +118,16 @@ export function _deserializeLambda(json: PlainObject<V1_Lambda>) {
|
|
|
117
118
|
return guaranteeType(V1_deserializeValueSpecification(json, []), V1_Lambda);
|
|
118
119
|
}
|
|
119
120
|
|
|
121
|
+
export function _deserializeValueSpecification(
|
|
122
|
+
json: PlainObject<V1_ValueSpecification>,
|
|
123
|
+
) {
|
|
124
|
+
return V1_deserializeValueSpecification(json, []);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function _serializeValueSpecification(protocol: V1_ValueSpecification) {
|
|
128
|
+
return V1_serializeValueSpecification(protocol, []);
|
|
129
|
+
}
|
|
130
|
+
|
|
120
131
|
export function _deserializeFunction(json: PlainObject<V1_Lambda>) {
|
|
121
132
|
return guaranteeType(
|
|
122
133
|
V1_deserializeValueSpecification(json, []),
|
|
@@ -304,6 +315,12 @@ export function _not(fn: V1_AppliedFunction) {
|
|
|
304
315
|
return _function(_functionName(DataCubeFunction.NOT), [fn]);
|
|
305
316
|
}
|
|
306
317
|
|
|
318
|
+
export function _selectFunction(columns: DataCubeColumn[]) {
|
|
319
|
+
return _function(DataCubeFunction.SELECT, [
|
|
320
|
+
_cols(columns.map((col) => _colSpec(col.name))),
|
|
321
|
+
]);
|
|
322
|
+
}
|
|
323
|
+
|
|
307
324
|
// --------------------------------- BUILDING BLOCKS ---------------------------------
|
|
308
325
|
|
|
309
326
|
export function _col(
|
|
@@ -198,39 +198,39 @@ export enum DataCubeQueryClientSideAggregateOperator {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
export enum DataCubeQueryFilterOperator {
|
|
201
|
-
LESS_THAN = '<',
|
|
202
|
-
LESS_THAN_OR_EQUAL = '<=',
|
|
203
|
-
EQUAL = '=',
|
|
204
|
-
NOT_EQUAL = '!=',
|
|
205
|
-
GREATER_THAN = '>',
|
|
206
|
-
GREATER_THAN_OR_EQUAL = '>=',
|
|
201
|
+
LESS_THAN = '<',
|
|
202
|
+
LESS_THAN_OR_EQUAL = '<=',
|
|
203
|
+
EQUAL = '=',
|
|
204
|
+
NOT_EQUAL = '!=',
|
|
205
|
+
GREATER_THAN = '>',
|
|
206
|
+
GREATER_THAN_OR_EQUAL = '>=',
|
|
207
207
|
IN = 'in',
|
|
208
208
|
NOT_IN = 'not in',
|
|
209
|
-
IS_NULL = 'is null',
|
|
210
|
-
IS_NOT_NULL = 'is not null',
|
|
209
|
+
IS_NULL = 'is null',
|
|
210
|
+
IS_NOT_NULL = 'is not null',
|
|
211
211
|
// string ONLY
|
|
212
|
-
EQUAL_CASE_INSENSITIVE = '= (case-insensitive)',
|
|
213
|
-
NOT_EQUAL_CASE_INSENSITIVE = '!= (case-insensitive)',
|
|
212
|
+
EQUAL_CASE_INSENSITIVE = '= (case-insensitive)',
|
|
213
|
+
NOT_EQUAL_CASE_INSENSITIVE = '!= (case-insensitive)',
|
|
214
214
|
IN_CASE_INSENSITIVE = 'in (case-insensitive)',
|
|
215
215
|
NOT_IN_CASE_INSENSITIVE = 'not in (case-insensitive)',
|
|
216
|
-
CONTAIN = 'contains',
|
|
217
|
-
CONTAIN_CASE_INSENSITIVE = 'contains (case-insensitive)',
|
|
218
|
-
NOT_CONTAIN = 'does not contain',
|
|
219
|
-
START_WITH = 'starts with',
|
|
220
|
-
START_WITH_CASE_INSENSITIVE = 'starts with (case-insensitive)',
|
|
221
|
-
NOT_START_WITH = 'does not start with',
|
|
222
|
-
END_WITH = 'ends with',
|
|
223
|
-
END_WITH_CASE_INSENSITIVE = 'ends with (case-insensitive)',
|
|
224
|
-
NOT_END_WITH = 'does not end with',
|
|
216
|
+
CONTAIN = 'contains',
|
|
217
|
+
CONTAIN_CASE_INSENSITIVE = 'contains (case-insensitive)',
|
|
218
|
+
NOT_CONTAIN = 'does not contain',
|
|
219
|
+
START_WITH = 'starts with',
|
|
220
|
+
START_WITH_CASE_INSENSITIVE = 'starts with (case-insensitive)',
|
|
221
|
+
NOT_START_WITH = 'does not start with',
|
|
222
|
+
END_WITH = 'ends with',
|
|
223
|
+
END_WITH_CASE_INSENSITIVE = 'ends with (case-insensitive)',
|
|
224
|
+
NOT_END_WITH = 'does not end with',
|
|
225
225
|
// column
|
|
226
|
-
LESS_THAN_COLUMN = '< value in column',
|
|
227
|
-
LESS_THAN_OR_EQUAL_COLUMN = '<= value in column',
|
|
228
|
-
EQUAL_COLUMN = '= value in column',
|
|
229
|
-
EQUAL_CASE_INSENSITIVE_COLUMN = '= (case-insensitive) value in column',
|
|
230
|
-
NOT_EQUAL_COLUMN = '!= value in column',
|
|
231
|
-
NOT_EQUAL_CASE_INSENSITIVE_COLUMN = '!= (case-insensitive) value in column',
|
|
232
|
-
GREATER_THAN_COLUMN = '> value in column',
|
|
233
|
-
GREATER_THAN_OR_EQUAL_COLUMN = '>= value in column',
|
|
226
|
+
LESS_THAN_COLUMN = '< value in column',
|
|
227
|
+
LESS_THAN_OR_EQUAL_COLUMN = '<= value in column',
|
|
228
|
+
EQUAL_COLUMN = '= value in column',
|
|
229
|
+
EQUAL_CASE_INSENSITIVE_COLUMN = '= (case-insensitive) value in column',
|
|
230
|
+
NOT_EQUAL_COLUMN = '!= value in column',
|
|
231
|
+
NOT_EQUAL_CASE_INSENSITIVE_COLUMN = '!= (case-insensitive) value in column',
|
|
232
|
+
GREATER_THAN_COLUMN = '> value in column',
|
|
233
|
+
GREATER_THAN_OR_EQUAL_COLUMN = '>= value in column',
|
|
234
234
|
// TODO?: having, having in aggregate, between
|
|
235
235
|
}
|
|
236
236
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import type { V1_AppliedFunction, V1_Lambda } from '@finos/legend-graph';
|
|
18
|
-
import type { DataCubeConfiguration } from './
|
|
18
|
+
import type { DataCubeConfiguration } from './model/DataCubeConfiguration.js';
|
|
19
19
|
import {
|
|
20
20
|
IllegalStateError,
|
|
21
21
|
hashObject,
|
|
@@ -28,7 +28,7 @@ import type {
|
|
|
28
28
|
DataCubeOperationValue,
|
|
29
29
|
DataCubeQuerySortDirection,
|
|
30
30
|
} from './DataCubeQueryEngine.js';
|
|
31
|
-
import type { DataCubeColumn } from './
|
|
31
|
+
import type { DataCubeColumn } from './model/DataCubeColumn.js';
|
|
32
32
|
|
|
33
33
|
export type DataCubeQuerySnapshotFilterCondition = DataCubeColumn & {
|
|
34
34
|
value: DataCubeOperationValue | undefined;
|
|
@@ -31,10 +31,14 @@ import {
|
|
|
31
31
|
matchFunctionName,
|
|
32
32
|
type V1_ValueSpecification,
|
|
33
33
|
} from '@finos/legend-graph';
|
|
34
|
-
import type { DataCubeQuery } from './
|
|
34
|
+
import type { DataCubeQuery } from './model/DataCubeQuery.js';
|
|
35
35
|
import { DataCubeQuerySnapshot } from './DataCubeQuerySnapshot.js';
|
|
36
|
-
import { _toCol, type DataCubeColumn } from './
|
|
37
|
-
import {
|
|
36
|
+
import { _toCol, type DataCubeColumn } from './model/DataCubeColumn.js';
|
|
37
|
+
import {
|
|
38
|
+
assertType,
|
|
39
|
+
getNonNullableEntry,
|
|
40
|
+
guaranteeNonNullable,
|
|
41
|
+
} from '@finos/legend-shared';
|
|
38
42
|
import {
|
|
39
43
|
DataCubeQuerySortDirection,
|
|
40
44
|
DataCubeFunction,
|
|
@@ -47,7 +51,7 @@ import {
|
|
|
47
51
|
_funcMatch,
|
|
48
52
|
_param,
|
|
49
53
|
} from './DataCubeQuerySnapshotBuilderUtils.js';
|
|
50
|
-
import type { DataCubeSource } from './
|
|
54
|
+
import type { DataCubeSource } from './model/DataCubeSource.js';
|
|
51
55
|
|
|
52
56
|
// --------------------------------- BUILDING BLOCKS ---------------------------------
|
|
53
57
|
|
|
@@ -55,11 +59,11 @@ const _SUPPORTED_TOP_LEVEL_FUNCTIONS: {
|
|
|
55
59
|
func: string;
|
|
56
60
|
parameters: number;
|
|
57
61
|
}[] = [
|
|
58
|
-
{ func: DataCubeFunction.EXTEND, parameters: 2 }, // support both signatures of extend()
|
|
62
|
+
{ func: DataCubeFunction.EXTEND, parameters: 2 }, // TODO: support both signatures of extend()
|
|
59
63
|
{ func: DataCubeFunction.FILTER, parameters: 1 },
|
|
60
64
|
{ func: DataCubeFunction.SELECT, parameters: 1 },
|
|
61
|
-
{ func: DataCubeFunction.GROUP_BY, parameters:
|
|
62
|
-
{ func: DataCubeFunction.PIVOT, parameters:
|
|
65
|
+
{ func: DataCubeFunction.GROUP_BY, parameters: 2 },
|
|
66
|
+
{ func: DataCubeFunction.PIVOT, parameters: 2 },
|
|
63
67
|
{ func: DataCubeFunction.CAST, parameters: 1 },
|
|
64
68
|
{ func: DataCubeFunction.SORT, parameters: 1 },
|
|
65
69
|
{ func: DataCubeFunction.LIMIT, parameters: 1 },
|
|
@@ -207,25 +211,26 @@ function extractFunctionMap(
|
|
|
207
211
|
}
|
|
208
212
|
const sequence: V1_AppliedFunction[] = [];
|
|
209
213
|
let currentFunc = query;
|
|
214
|
+
|
|
210
215
|
while (currentFunc instanceof V1_AppliedFunction) {
|
|
211
216
|
const supportedFunc = _SUPPORTED_TOP_LEVEL_FUNCTIONS.find((spec) =>
|
|
212
217
|
matchFunctionName(currentFunc.function, spec.func),
|
|
213
218
|
);
|
|
214
219
|
|
|
215
|
-
// Check that all functions in sequence are supported
|
|
220
|
+
// Check that all functions in sequence are supported (matching name and number of parameters)
|
|
216
221
|
if (!supportedFunc) {
|
|
217
222
|
throw new Error(`Found unsupported function ${currentFunc.function}()`);
|
|
218
223
|
}
|
|
219
224
|
if (currentFunc.parameters.length > supportedFunc.parameters) {
|
|
220
|
-
const
|
|
221
|
-
if (!(
|
|
225
|
+
const valueSpecification = currentFunc.parameters[0];
|
|
226
|
+
if (!(valueSpecification instanceof V1_AppliedFunction)) {
|
|
222
227
|
throw new Error(
|
|
223
228
|
`Query must be a sequence of function calls (e.g. x()->y()->z())`,
|
|
224
229
|
);
|
|
225
230
|
}
|
|
226
231
|
currentFunc.parameters = currentFunc.parameters.slice(1);
|
|
227
232
|
sequence.unshift(currentFunc);
|
|
228
|
-
currentFunc =
|
|
233
|
+
currentFunc = valueSpecification;
|
|
229
234
|
} else {
|
|
230
235
|
sequence.unshift(currentFunc);
|
|
231
236
|
break;
|
|
@@ -254,7 +259,8 @@ function extractFunctionMap(
|
|
|
254
259
|
if (isNaN(idx) || idx >= sequence.length) {
|
|
255
260
|
return undefined;
|
|
256
261
|
}
|
|
257
|
-
|
|
262
|
+
const func = getNonNullableEntry(sequence, idx);
|
|
263
|
+
return func;
|
|
258
264
|
};
|
|
259
265
|
|
|
260
266
|
return {
|
|
@@ -301,12 +307,12 @@ export function validateAndBuildQuerySnapshot(
|
|
|
301
307
|
return _toCol(column);
|
|
302
308
|
};
|
|
303
309
|
|
|
304
|
-
//
|
|
310
|
+
// -------------------------------- SOURCE --------------------------------
|
|
305
311
|
|
|
306
|
-
data.sourceColumns = source.
|
|
312
|
+
data.sourceColumns = source.columns;
|
|
307
313
|
data.sourceColumns.forEach((col) => colsMap.set(col.name, col));
|
|
308
314
|
|
|
309
|
-
//
|
|
315
|
+
// --------------------------- LEAF-LEVEL EXTEND ---------------------------
|
|
310
316
|
/** TODO: @datacube roundtrip */
|
|
311
317
|
|
|
312
318
|
// --------------------------------- FILTER ---------------------------------
|
|
@@ -336,7 +342,7 @@ export function validateAndBuildQuerySnapshot(
|
|
|
336
342
|
};
|
|
337
343
|
}
|
|
338
344
|
|
|
339
|
-
//
|
|
345
|
+
// --------------------------- GROUP-LEVEL EXTEND ---------------------------
|
|
340
346
|
/** TODO: @datacube roundtrip */
|
|
341
347
|
|
|
342
348
|
// --------------------------------- SORT ---------------------------------
|
|
@@ -368,41 +374,70 @@ export function validateAndBuildQuerySnapshot(
|
|
|
368
374
|
}
|
|
369
375
|
|
|
370
376
|
// --------------------------------- CONFIGURATION ---------------------------------
|
|
371
|
-
// NOTE: we aim to keep the data query a Pure query instead of a specification object
|
|
372
|
-
// so this configuration holds mostly layout and styling customization.
|
|
373
|
-
// But there are overlaps, i.e. certain data query configuration are stored in the
|
|
374
|
-
// configuration, e.g. column aggregation type, this is because a column
|
|
375
|
-
// aggregation's preference can be populated even when there's no aggregation specified
|
|
376
|
-
// in the data query.
|
|
377
377
|
//
|
|
378
|
-
//
|
|
379
|
-
//
|
|
380
|
-
//
|
|
381
|
-
//
|
|
378
|
+
// A data-cube conceptually consists of a data query, in form of a Pure query, instead
|
|
379
|
+
// of a particular specification object format, and this configuration, that holds mostly
|
|
380
|
+
// layout and styling customization. But there are overlaps, i.e. certain "meta" query
|
|
381
|
+
// configuration are stored in this configuration, e.g. column aggregation type, because
|
|
382
|
+
// a column aggregation's preference needs to be specified even when there's no aggregation
|
|
383
|
+
// specified over that column in the data query.
|
|
384
|
+
//
|
|
385
|
+
// But in the example above, if the column is part of an aggregation, we have to ensure
|
|
386
|
+
// the configuration is consistent with the query. Conflicts can happen, for example:
|
|
382
387
|
// - column kind and type conflict with aggregation
|
|
383
388
|
// - column kind and type conflict with the column configuration
|
|
384
389
|
//
|
|
385
|
-
// In
|
|
386
|
-
//
|
|
387
|
-
//
|
|
390
|
+
// In those cases, we need to reconcile to make sure the query and the configuration to agree.
|
|
391
|
+
// The query will take precedence when conflicts happen, and if the conflict cannot be resolved
|
|
392
|
+
// somehow, we will throw a validation error. We decide so because in certain cases, configuration
|
|
393
|
+
// needs to be generated from default presets, such as for use cases where the query comes from a
|
|
394
|
+
// different source, such as Studio or Query, or another part of Engine, where the layout
|
|
395
|
+
// configuration is not specified.
|
|
396
|
+
//
|
|
397
|
+
// ----------------------------------------------------------------------------------
|
|
398
|
+
|
|
399
|
+
const configuration = validateAndBuildConfiguration(
|
|
400
|
+
snapshot,
|
|
401
|
+
funcMap,
|
|
402
|
+
baseQuery,
|
|
403
|
+
);
|
|
404
|
+
data.configuration = configuration.serialize();
|
|
405
|
+
|
|
406
|
+
return snapshot.finalize();
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* TODO: @datacube roundtrip - implement the logic to reconcile the configuration with the query
|
|
411
|
+
* - [ ] disallow naming an extended column the same as a source column/leaf-level extended column
|
|
412
|
+
* even if the column is not selected
|
|
413
|
+
* - [ ] columns (missing/extra columns - remove or generate default column configuration)
|
|
414
|
+
* - [ ] column kind
|
|
415
|
+
* - [ ] column type
|
|
416
|
+
* - [ ] base off the type, check the settings
|
|
417
|
+
* - [ ] aggregation
|
|
418
|
+
* - [ ] verify groupBy agg columns, pivot agg columns and configuration agree
|
|
419
|
+
* - [ ] verify groupBy sort columns and tree column sort direction configuration agree
|
|
420
|
+
*/
|
|
421
|
+
function validateAndBuildConfiguration(
|
|
422
|
+
snapshot: DataCubeQuerySnapshot,
|
|
423
|
+
funcMap: DataCubeQueryFunctionMap,
|
|
424
|
+
baseQuery: DataCubeQuery,
|
|
425
|
+
) {
|
|
426
|
+
const data = snapshot.data;
|
|
388
427
|
const configuration =
|
|
389
428
|
baseQuery.configuration?.clone() ??
|
|
390
429
|
buildDefaultConfiguration([
|
|
391
|
-
...
|
|
430
|
+
...data.sourceColumns,
|
|
392
431
|
...data.leafExtendedColumns,
|
|
393
432
|
...data.groupExtendedColumns,
|
|
394
433
|
]);
|
|
395
|
-
data.configuration = configuration.serialize();
|
|
396
|
-
/**
|
|
397
|
-
* TODO: @datacube roundtrip - implement the logic to reconcile the configuration with the query
|
|
398
|
-
* - [ ] columns (missing/extra columns - remove or generate default column configuration)
|
|
399
|
-
* - [ ] column kind
|
|
400
|
-
* - [ ] column type
|
|
401
|
-
* - [ ] base off the type, check the settings
|
|
402
|
-
* - [ ] aggregation
|
|
403
|
-
* - [ ] verify groupBy agg columns, pivot agg columns and configuration agree
|
|
404
|
-
* - [ ] verify groupBy sort columns and tree column sort direction configuration agree
|
|
405
|
-
*/
|
|
406
434
|
|
|
407
|
-
|
|
435
|
+
// column selection
|
|
436
|
+
configuration.columns.forEach((column) => {
|
|
437
|
+
column.isSelected = Boolean(
|
|
438
|
+
data.groupExtendedColumns.find((col) => col.name === column.name) ??
|
|
439
|
+
data.selectColumns.find((col) => col.name === column.name),
|
|
440
|
+
);
|
|
441
|
+
});
|
|
442
|
+
return configuration;
|
|
408
443
|
}
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
matchFunctionName,
|
|
24
24
|
type V1_ValueSpecification,
|
|
25
25
|
} from '@finos/legend-graph';
|
|
26
|
-
import { type DataCubeColumn } from './
|
|
26
|
+
import { type DataCubeColumn } from './model/DataCubeColumn.js';
|
|
27
27
|
import {
|
|
28
28
|
assertTrue,
|
|
29
29
|
assertType,
|
|
@@ -42,12 +42,12 @@ export function _param<T extends V1_ValueSpecification>(
|
|
|
42
42
|
): T {
|
|
43
43
|
assertTrue(
|
|
44
44
|
func.parameters.length >= paramIdx + 1,
|
|
45
|
-
`Can't process ${_name(func.function)}: Expected at least ${paramIdx + 1} parameter(s)`,
|
|
45
|
+
`Can't process ${_name(func.function)}() expression: Expected at least ${paramIdx + 1} parameter(s)`,
|
|
46
46
|
);
|
|
47
47
|
return guaranteeType(
|
|
48
48
|
func.parameters[paramIdx],
|
|
49
49
|
clazz,
|
|
50
|
-
`Can't process ${_name(func.function)}: Found unexpected type for parameter at index ${paramIdx}`,
|
|
50
|
+
`Can't process ${_name(func.function)}() expression: Found unexpected type for parameter at index ${paramIdx}`,
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -55,7 +55,7 @@ export function _colSpecParam(func: V1_AppliedFunction, paramIdx: number) {
|
|
|
55
55
|
return guaranteeType(
|
|
56
56
|
_param(func, paramIdx, V1_ClassInstance).value,
|
|
57
57
|
V1_ColSpec,
|
|
58
|
-
`Can't process ${_name(func.function)}: Expected parameter at index ${paramIdx} to be a column specification`,
|
|
58
|
+
`Can't process ${_name(func.function)}() expression: Expected parameter at index ${paramIdx} to be a column specification`,
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -63,7 +63,7 @@ export function _colSpecArrayParam(func: V1_AppliedFunction, paramIdx: number) {
|
|
|
63
63
|
return guaranteeType(
|
|
64
64
|
_param(func, paramIdx, V1_ClassInstance).value,
|
|
65
65
|
V1_ColSpecArray,
|
|
66
|
-
`Can't process ${_name(func.function)}: Expected parameter at index ${paramIdx} to be a column specification list`,
|
|
66
|
+
`Can't process ${_name(func.function)}() expression: Expected parameter at index ${paramIdx} to be a column specification list`,
|
|
67
67
|
);
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
18
|
-
import type { DataCubeColumn } from '../
|
|
18
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
19
19
|
import { type V1_ColSpec } from '@finos/legend-graph';
|
|
20
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
20
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
21
21
|
|
|
22
22
|
// --------------------------------- UTILITIES ---------------------------------
|
|
23
23
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__Average extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__Count extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__First extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { PRIMITIVE_TYPE } from '@finos/legend-graph';
|
|
19
19
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
20
20
|
import {
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
_property,
|
|
33
33
|
_var,
|
|
34
34
|
} from '../DataCubeQueryBuilderUtils.js';
|
|
35
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
35
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
36
36
|
|
|
37
37
|
export class DataCubeQueryAggregateOperation__JoinStrings extends DataCubeQueryAggregateOperation {
|
|
38
38
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__Last extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__Max extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__Min extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__StdDevPopulation extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__StdDevSample extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__Sum extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__UniqueValue extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__VariancePopulation extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import type { DataCubeColumn } from '../
|
|
17
|
+
import type { DataCubeColumn } from '../model/DataCubeColumn.js';
|
|
18
18
|
import { DataCubeQueryAggregateOperation } from './DataCubeQueryAggregateOperation.js';
|
|
19
19
|
import {
|
|
20
20
|
DataCubeQueryAggregateOperator,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ofDataType,
|
|
24
24
|
} from '../DataCubeQueryEngine.js';
|
|
25
25
|
import { _aggCol_basic } from '../DataCubeQueryBuilderUtils.js';
|
|
26
|
-
import type { DataCubeColumnConfiguration } from '../
|
|
26
|
+
import type { DataCubeColumnConfiguration } from '../model/DataCubeConfiguration.js';
|
|
27
27
|
|
|
28
28
|
export class DataCubeQueryAggregateOperation__VarianceSample extends DataCubeQueryAggregateOperation {
|
|
29
29
|
override get label() {
|