@finos/legend-query-builder 0.4.1 → 0.4.3
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/lib/components/QueryBuilder.js +2 -2
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderNavigationBlocker.d.ts.map +1 -1
- package/lib/components/QueryBuilderNavigationBlocker.js +1 -1
- package/lib/components/QueryBuilderNavigationBlocker.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +20 -23
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +3 -3
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +3 -3
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
- package/lib/components/fetch-structure/{QueryBuilderOlapGroupByPanel.d.ts → QueryBuilderOLAPGroupByPanel_.d.ts} +3 -3
- package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.d.ts.map +1 -0
- package/lib/components/fetch-structure/{QueryBuilderOlapGroupByPanel.js → QueryBuilderOLAPGroupByPanel_.js} +63 -25
- package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +3 -3
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +7 -8
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +30 -35
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +3 -5
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.js +6 -4
- package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
- package/lib/graphManager/QueryBuilderHashUtils.d.ts +14 -14
- package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -1
- package/lib/graphManager/QueryBuilderHashUtils.js +14 -14
- package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +2 -2
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +3 -3
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +7 -8
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +1 -17
- package/lib/index.css.map +1 -1
- package/lib/package.json +5 -5
- package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderMilestoningState.js +2 -2
- package/lib/stores/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts +5 -0
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +13 -22
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts +2 -1
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +14 -16
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts +7 -13
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +18 -36
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +6 -22
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +8 -5
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +6 -2
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +12 -11
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +8 -9
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +2 -4
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +8 -10
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.d.ts → QueryBuilderTDSColumnState.d.ts} +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.js → QueryBuilderTDSColumnState.js} +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.js.map +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +5 -5
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js +3 -4
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +2 -4
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +2 -4
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +4 -5
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +8 -11
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +2 -4
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +2 -4
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByOperatorLoader.d.ts → QueryBuilderOLAPGroupByOperatorLoader_.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js +36 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.d.ts → QueryBuilderOLAPGroupByStateBuilder_.d.ts} +2 -2
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.js → QueryBuilderOLAPGroupByStateBuilder_.js} +8 -8
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.d.ts → QueryBuilderOLAPGroupByState_.d.ts} +35 -35
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.js → QueryBuilderOLAPGroupByState_.js} +21 -21
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.js → QueryBuilderOLAPGroupByValueSpecificationBuilder_.js} +17 -19
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts → QueryBuilderTDS_OLAPOperator.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts.map → QueryBuilderTDS_OLAPOperator.d.ts.map} +1 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.js → QueryBuilderTDS_OLAPOperator.js} +4 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.d.ts → QueryBuilderTDS_OLAPOperator_Average.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.js → QueryBuilderTDS_OLAPOperator_Average.js} +4 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.d.ts → QueryBuilderTDS_OLAPOperator_Count.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.js → QueryBuilderTDS_OLAPOperator_Count.js} +4 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.d.ts → QueryBuilderTDS_OLAPOperator_Max.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.js → QueryBuilderTDS_OLAPOperator_Max.js} +4 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.d.ts → QueryBuilderTDS_OLAPOperator_Min.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.js → QueryBuilderTDS_OLAPOperator_Min.js} +4 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.d.ts → QueryBuilderTDS_OLAPOperator_Sum.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.js → QueryBuilderTDS_OLAPOperator_Sum.js} +4 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js → QueryBuilderTDS_OLAPRankOperator_AverageRank.js} +6 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js.map → QueryBuilderTDS_OLAPRankOperator_AverageRank.js.map} +1 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js → QueryBuilderTDS_OLAPRankOperator_DenseRank.js} +6 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js.map → QueryBuilderTDS_OLAPRankOperator_DenseRank.js.map} +1 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.d.ts → QueryBuilderTDS_OLAPRankOperator_Rank.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js → QueryBuilderTDS_OLAPRankOperator_Rank.js} +4 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js.map → QueryBuilderTDS_OLAPRankOperator_Rank.js.map} +1 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js → QueryBuilderTDS_OLAPRankOperator_RowNumber.js} +6 -4
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js.map → QueryBuilderTDS_OLAPRankOperator_RowNumber.js.map} +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +10 -10
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +4 -6
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +5 -7
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +5 -7
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +3 -7
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +3 -7
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +2 -3
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +5 -5
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +16 -20
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +4 -6
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +12 -15
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -7
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -7
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +3 -5
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +3 -5
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +4 -7
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -7
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/shared/LambdaParameterState.d.ts +1 -2
- package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
- package/lib/stores/shared/LambdaParameterState.js +2 -22
- package/lib/stores/shared/LambdaParameterState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +6 -7
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +1 -2
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -7
- package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
- package/package.json +12 -12
- package/src/components/QueryBuilder.tsx +2 -2
- package/src/components/QueryBuilderDiffPanel.tsx +4 -16
- package/src/components/QueryBuilderNavigationBlocker.tsx +4 -0
- package/src/components/QueryBuilderParametersPanel.tsx +51 -70
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +1 -4
- package/src/components/QueryBuilderResultPanel.tsx +2 -1
- package/src/components/QueryBuilderSideBar.tsx +3 -3
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +3 -13
- package/src/components/fetch-structure/{QueryBuilderOlapGroupByPanel.tsx → QueryBuilderOLAPGroupByPanel_.tsx} +168 -87
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +4 -4
- package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +5 -5
- package/src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx +1 -1
- package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -10
- package/src/components/shared/CustomDatePicker.tsx +37 -47
- package/src/components/shared/LambdaParameterValuesEditor.tsx +4 -6
- package/src/components/watermark/QueryBuilderWatermark.tsx +16 -6
- package/src/graphManager/QueryBuilderHashUtils.ts +14 -14
- package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +2 -2
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +3 -4
- package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +18 -12
- package/src/stores/QueryBuilderMilestoningState.ts +4 -12
- package/src/stores/QueryBuilderPropertyEditorState.ts +15 -30
- package/src/stores/QueryBuilderResultState.ts +19 -22
- package/src/stores/QueryBuilderStateBuilder.ts +44 -78
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +8 -33
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +9 -10
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +24 -25
- package/src/stores/explorer/QueryBuilderExplorerState.ts +6 -19
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +2 -8
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +5 -30
- package/src/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.ts → QueryBuilderTDSColumnState.ts} +0 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +8 -8
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +1 -1
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts +2 -6
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +2 -4
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +2 -4
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +2 -7
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +10 -17
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +2 -4
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +2 -4
- package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.ts +39 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.ts → QueryBuilderOLAPGroupByStateBuilder_.ts} +14 -14
- package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.ts → QueryBuilderOLAPGroupByState_.ts} +51 -51
- package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts} +28 -33
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.ts → QueryBuilderTDS_OLAPOperator.ts} +4 -4
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.ts → QueryBuilderTDS_OLAPOperator_Average.ts} +3 -3
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.ts → QueryBuilderTDS_OLAPOperator_Count.ts} +3 -3
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.ts → QueryBuilderTDS_OLAPOperator_Max.ts} +3 -3
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.ts → QueryBuilderTDS_OLAPOperator_Min.ts} +3 -3
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.ts → QueryBuilderTDS_OLAPOperator_Sum.ts} +3 -3
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.ts} +5 -3
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.ts} +5 -3
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.ts → QueryBuilderTDS_OLAPRankOperator_Rank.ts} +3 -3
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.ts} +5 -3
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +11 -10
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -12
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +8 -14
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +5 -14
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -12
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -12
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +1 -13
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +3 -13
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +2 -5
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -12
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +7 -11
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +13 -44
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -12
- package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +7 -28
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -8
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -8
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +4 -8
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -6
- package/src/stores/shared/LambdaParameterState.ts +0 -49
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +2 -9
- package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -29
- package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +0 -2
- package/tsconfig.json +16 -16
- package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js.map +0 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js +0 -36
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts.map +0 -1
- package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.ts +0 -39
|
@@ -27,22 +27,22 @@ import { action, makeObservable, observable } from 'mobx';
|
|
|
27
27
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
|
|
28
28
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
|
|
29
29
|
import type { QueryBuilderProjectionColumnDragSource } from '../projection/QueryBuilderProjectionColumnState.js';
|
|
30
|
-
import { QueryBuilderTDSColumnState } from '../
|
|
30
|
+
import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
|
|
31
31
|
import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
|
32
32
|
import type { COLUMN_SORT_TYPE } from '../QueryResultSetModifierState.js';
|
|
33
|
-
import type {
|
|
33
|
+
import type { QueryBuilderTDS_OLAPOperator } from './operators/QueryBuilderTDS_OLAPOperator.js';
|
|
34
34
|
|
|
35
35
|
export const QUERY_BUILDER_OLAP_COLUMN_DND_TYPE = 'OLAP_COLUMN';
|
|
36
36
|
|
|
37
|
-
export interface
|
|
38
|
-
columnState:
|
|
37
|
+
export interface QueryBuilderOLAPColumnDragSource {
|
|
38
|
+
columnState: QueryBuilderTDSColumnState;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export type
|
|
41
|
+
export type QueryBuilderOLAPDropTarget =
|
|
42
42
|
| QueryBuilderProjectionColumnDragSource
|
|
43
|
-
|
|
|
43
|
+
| QueryBuilderOLAPColumnDragSource;
|
|
44
44
|
|
|
45
|
-
export class
|
|
45
|
+
export class OLAPGroupByColumnSortByState implements Hashable {
|
|
46
46
|
columnState: QueryBuilderTDSColumnState;
|
|
47
47
|
sortType: COLUMN_SORT_TYPE;
|
|
48
48
|
|
|
@@ -71,21 +71,21 @@ export class OlapGroupByColumnSortByState implements Hashable {
|
|
|
71
71
|
|
|
72
72
|
get hashCode(): string {
|
|
73
73
|
return hashArray([
|
|
74
|
-
QUERY_BUILDER_HASH_STRUCTURE.
|
|
74
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_COLUMN_SORTBY_STATE,
|
|
75
75
|
this.sortType,
|
|
76
76
|
this.columnState.columnName,
|
|
77
77
|
]);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
export abstract class
|
|
82
|
-
readonly olapState:
|
|
81
|
+
export abstract class QueryBuilderTDS_OLAPOperatorState implements Hashable {
|
|
82
|
+
readonly olapState: QueryBuilderOLAPGroupByState;
|
|
83
83
|
lambdaParameterName: string = DEFAULT_LAMBDA_VARIABLE_NAME;
|
|
84
|
-
operator:
|
|
84
|
+
operator: QueryBuilderTDS_OLAPOperator;
|
|
85
85
|
|
|
86
86
|
constructor(
|
|
87
|
-
olapState:
|
|
88
|
-
operator:
|
|
87
|
+
olapState: QueryBuilderOLAPGroupByState,
|
|
88
|
+
operator: QueryBuilderTDS_OLAPOperator,
|
|
89
89
|
) {
|
|
90
90
|
this.olapState = olapState;
|
|
91
91
|
this.operator = operator;
|
|
@@ -95,23 +95,23 @@ export abstract class QueryBuilderTDSOlapOperatorState implements Hashable {
|
|
|
95
95
|
this.lambdaParameterName = paramName;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
setOperator(val:
|
|
98
|
+
setOperator(val: QueryBuilderTDS_OLAPOperator): void {
|
|
99
99
|
this.operator = val;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
get hashCode(): string {
|
|
103
103
|
return hashArray([
|
|
104
|
-
QUERY_BUILDER_HASH_STRUCTURE.
|
|
104
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_OPERATION_STATE,
|
|
105
105
|
this.lambdaParameterName,
|
|
106
106
|
this.operator,
|
|
107
107
|
]);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
export class
|
|
111
|
+
export class QueryBuilderTDS_OLAPRankOperatorState extends QueryBuilderTDS_OLAPOperatorState {
|
|
112
112
|
constructor(
|
|
113
|
-
olapState:
|
|
114
|
-
operator:
|
|
113
|
+
olapState: QueryBuilderOLAPGroupByState,
|
|
114
|
+
operator: QueryBuilderTDS_OLAPOperator,
|
|
115
115
|
) {
|
|
116
116
|
super(olapState, operator);
|
|
117
117
|
makeObservable(this, {
|
|
@@ -120,11 +120,11 @@ export class QueryBuilderTDSOlapRankOperatorState extends QueryBuilderTDSOlapOpe
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export class
|
|
123
|
+
export class QueryBuilderTDS_OLAPAggreationOperatorState extends QueryBuilderTDS_OLAPOperatorState {
|
|
124
124
|
columnState: QueryBuilderTDSColumnState;
|
|
125
125
|
constructor(
|
|
126
|
-
olapState:
|
|
127
|
-
operator:
|
|
126
|
+
olapState: QueryBuilderOLAPGroupByState,
|
|
127
|
+
operator: QueryBuilderTDS_OLAPOperator,
|
|
128
128
|
columnState: QueryBuilderTDSColumnState,
|
|
129
129
|
) {
|
|
130
130
|
super(olapState, operator);
|
|
@@ -142,7 +142,7 @@ export class QueryBuilderTDSOlapAggreationOperatorState extends QueryBuilderTDSO
|
|
|
142
142
|
|
|
143
143
|
override get hashCode(): string {
|
|
144
144
|
return hashArray([
|
|
145
|
-
QUERY_BUILDER_HASH_STRUCTURE.
|
|
145
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_AGG_OPERATION_STATE,
|
|
146
146
|
this.lambdaParameterName,
|
|
147
147
|
this.operator,
|
|
148
148
|
this.columnState.columnName,
|
|
@@ -150,21 +150,21 @@ export class QueryBuilderTDSOlapAggreationOperatorState extends QueryBuilderTDSO
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
export class
|
|
153
|
+
export class QueryBuilderOLAPGroupByColumnState
|
|
154
154
|
extends QueryBuilderTDSColumnState
|
|
155
155
|
implements Hashable
|
|
156
156
|
{
|
|
157
|
-
readonly olapState:
|
|
157
|
+
readonly olapState: QueryBuilderOLAPGroupByState;
|
|
158
158
|
windowColumns: QueryBuilderTDSColumnState[] = [];
|
|
159
|
-
sortByState:
|
|
160
|
-
operationState:
|
|
159
|
+
sortByState: OLAPGroupByColumnSortByState | undefined;
|
|
160
|
+
operationState: QueryBuilderTDS_OLAPOperatorState;
|
|
161
161
|
columnName: string;
|
|
162
162
|
|
|
163
163
|
constructor(
|
|
164
|
-
olapState:
|
|
164
|
+
olapState: QueryBuilderOLAPGroupByState,
|
|
165
165
|
windowColumns: QueryBuilderTDSColumnState[],
|
|
166
|
-
sortType:
|
|
167
|
-
operationState:
|
|
166
|
+
sortType: OLAPGroupByColumnSortByState | undefined,
|
|
167
|
+
operationState: QueryBuilderTDS_OLAPOperatorState,
|
|
168
168
|
columnName: string,
|
|
169
169
|
) {
|
|
170
170
|
super();
|
|
@@ -189,7 +189,7 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
189
189
|
this.columnName = columnName;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
get
|
|
192
|
+
get columnOLAPGroupIdx(): number {
|
|
193
193
|
return this.olapState.olapColumns.findIndex((e) => e === this);
|
|
194
194
|
}
|
|
195
195
|
|
|
@@ -204,7 +204,7 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
204
204
|
|
|
205
205
|
get referencedTDSColumns(): QueryBuilderTDSColumnState[] {
|
|
206
206
|
const operatorReference =
|
|
207
|
-
this.operationState instanceof
|
|
207
|
+
this.operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
|
|
208
208
|
? [this.operationState.columnState]
|
|
209
209
|
: [];
|
|
210
210
|
const soryByReference = this.sortByState
|
|
@@ -223,11 +223,11 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
223
223
|
this.columnName = val;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
setOperatorState(op:
|
|
226
|
+
setOperatorState(op: QueryBuilderTDS_OLAPOperatorState): void {
|
|
227
227
|
this.operationState = op;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
setSortBy(val:
|
|
230
|
+
setSortBy(val: OLAPGroupByColumnSortByState | undefined): void {
|
|
231
231
|
this.sortByState = val;
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -244,7 +244,7 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
possibleAggregatedColumns(
|
|
247
|
-
op:
|
|
247
|
+
op: QueryBuilderTDS_OLAPOperator,
|
|
248
248
|
): QueryBuilderTDSColumnState[] {
|
|
249
249
|
if (op.isColumnAggregator()) {
|
|
250
250
|
return this.possibleReferencedColumns.filter((col) =>
|
|
@@ -254,10 +254,10 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
254
254
|
return [];
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
changeOperator(olapOp:
|
|
257
|
+
changeOperator(olapOp: QueryBuilderTDS_OLAPOperator): void {
|
|
258
258
|
const currentOperator = this.operationState.operator;
|
|
259
259
|
const currentAggregateColumn =
|
|
260
|
-
this.operationState instanceof
|
|
260
|
+
this.operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
|
|
261
261
|
? this.operationState.columnState
|
|
262
262
|
: undefined;
|
|
263
263
|
if (currentOperator !== olapOp) {
|
|
@@ -269,7 +269,7 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
269
269
|
: this.possibleAggregatedColumns(olapOp)[0];
|
|
270
270
|
if (compatibleAggCol) {
|
|
271
271
|
this.setOperatorState(
|
|
272
|
-
new
|
|
272
|
+
new QueryBuilderTDS_OLAPAggreationOperatorState(
|
|
273
273
|
this.olapState,
|
|
274
274
|
olapOp,
|
|
275
275
|
compatibleAggCol,
|
|
@@ -278,7 +278,7 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
278
278
|
}
|
|
279
279
|
} else {
|
|
280
280
|
this.setOperatorState(
|
|
281
|
-
new
|
|
281
|
+
new QueryBuilderTDS_OLAPRankOperatorState(this.olapState, olapOp),
|
|
282
282
|
);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
@@ -290,7 +290,7 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
290
290
|
if (sortOp) {
|
|
291
291
|
const sortInfoOpState =
|
|
292
292
|
sortByState ??
|
|
293
|
-
new
|
|
293
|
+
new OLAPGroupByColumnSortByState(
|
|
294
294
|
guaranteeNonNullable(this.possibleReferencedColumns[0]),
|
|
295
295
|
sortOp,
|
|
296
296
|
);
|
|
@@ -304,7 +304,7 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
304
304
|
|
|
305
305
|
get hashCode(): string {
|
|
306
306
|
return hashArray([
|
|
307
|
-
QUERY_BUILDER_HASH_STRUCTURE.
|
|
307
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_COLUMN_STATE,
|
|
308
308
|
hashArray(this.windowColumns),
|
|
309
309
|
this.sortByState ?? '',
|
|
310
310
|
this.operationState,
|
|
@@ -313,20 +313,20 @@ export class QueryBuilderOlapGroupByColumnState
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export class
|
|
316
|
+
export class QueryBuilderOLAPGroupByState implements Hashable {
|
|
317
317
|
readonly tdsState: QueryBuilderTDSState;
|
|
318
|
-
olapColumns:
|
|
319
|
-
operators:
|
|
320
|
-
editColumn:
|
|
318
|
+
olapColumns: QueryBuilderOLAPGroupByColumnState[] = [];
|
|
319
|
+
operators: QueryBuilderTDS_OLAPOperator[];
|
|
320
|
+
editColumn: QueryBuilderOLAPGroupByColumnState | undefined;
|
|
321
321
|
|
|
322
322
|
constructor(
|
|
323
323
|
tdsState: QueryBuilderTDSState,
|
|
324
|
-
operators:
|
|
324
|
+
operators: QueryBuilderTDS_OLAPOperator[],
|
|
325
325
|
) {
|
|
326
326
|
makeObservable(this, {
|
|
327
327
|
olapColumns: observable,
|
|
328
328
|
editColumn: observable,
|
|
329
|
-
|
|
329
|
+
addOLAPColumn: action,
|
|
330
330
|
removeColumn: action,
|
|
331
331
|
moveColumn: action,
|
|
332
332
|
setEditColumn: action,
|
|
@@ -343,19 +343,19 @@ export class QueryBuilderOlapGroupByState implements Hashable {
|
|
|
343
343
|
return uniq(this.olapColumns.map((c) => c.referencedTDSColumns).flat());
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
setEditColumn(col:
|
|
346
|
+
setEditColumn(col: QueryBuilderOLAPGroupByColumnState | undefined): void {
|
|
347
347
|
this.editColumn = col;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
findOperator(func: string):
|
|
350
|
+
findOperator(func: string): QueryBuilderTDS_OLAPOperator | undefined {
|
|
351
351
|
return this.operators.find((o) => matchFunctionName(func, o.pureFunc));
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
|
|
354
|
+
addOLAPColumn(olapGroupByCol: QueryBuilderOLAPGroupByColumnState): void {
|
|
355
355
|
addUniqueEntry(this.olapColumns, olapGroupByCol);
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
removeColumn(column:
|
|
358
|
+
removeColumn(column: QueryBuilderOLAPGroupByColumnState): void {
|
|
359
359
|
deleteEntry(this.olapColumns, column);
|
|
360
360
|
}
|
|
361
361
|
|
|
@@ -370,7 +370,7 @@ export class QueryBuilderOlapGroupByState implements Hashable {
|
|
|
370
370
|
|
|
371
371
|
get hashCode(): string {
|
|
372
372
|
return hashArray([
|
|
373
|
-
QUERY_BUILDER_HASH_STRUCTURE.
|
|
373
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_STATE,
|
|
374
374
|
hashArray(this.olapColumns),
|
|
375
375
|
]);
|
|
376
376
|
}
|
|
@@ -21,38 +21,35 @@ import {
|
|
|
21
21
|
GenericType,
|
|
22
22
|
GenericTypeExplicitReference,
|
|
23
23
|
PrimitiveInstanceValue,
|
|
24
|
-
PRIMITIVE_TYPE,
|
|
25
24
|
SimpleFunctionExpression,
|
|
26
|
-
TYPICAL_MULTIPLICITY_TYPE,
|
|
27
25
|
VariableExpression,
|
|
26
|
+
Multiplicity,
|
|
27
|
+
PrimitiveType,
|
|
28
28
|
} from '@finos/legend-graph';
|
|
29
29
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
30
30
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
31
31
|
import { buildGenericLambdaFunctionInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
|
32
32
|
import { getFunctionNameFromTDSSortColumn } from '../QueryBuilderTDSHelper.js';
|
|
33
33
|
import {
|
|
34
|
-
type
|
|
35
|
-
type
|
|
36
|
-
|
|
37
|
-
} from './
|
|
34
|
+
type QueryBuilderOLAPGroupByColumnState,
|
|
35
|
+
type QueryBuilderOLAPGroupByState,
|
|
36
|
+
QueryBuilderTDS_OLAPAggreationOperatorState,
|
|
37
|
+
} from './QueryBuilderOLAPGroupByState_.js';
|
|
38
38
|
|
|
39
|
-
const
|
|
40
|
-
olapGroupByColumnState:
|
|
39
|
+
const appendOLAPGroupByColumnState = (
|
|
40
|
+
olapGroupByColumnState: QueryBuilderOLAPGroupByColumnState,
|
|
41
41
|
lambda: LambdaFunction,
|
|
42
42
|
): LambdaFunction => {
|
|
43
43
|
const graph =
|
|
44
44
|
olapGroupByColumnState.olapState.tdsState.queryBuilderState
|
|
45
45
|
.graphManagerState.graph;
|
|
46
|
-
const multiplicityOne = graph.getTypicalMultiplicity(
|
|
47
|
-
TYPICAL_MULTIPLICITY_TYPE.ONE,
|
|
48
|
-
);
|
|
49
|
-
const typeString = graph.getPrimitiveType(PRIMITIVE_TYPE.STRING);
|
|
50
46
|
|
|
51
47
|
// create window cols expression
|
|
52
48
|
const windowColumns = olapGroupByColumnState.windowColumns.map((column) => {
|
|
53
49
|
const stringInstance = new PrimitiveInstanceValue(
|
|
54
|
-
GenericTypeExplicitReference.create(
|
|
55
|
-
|
|
50
|
+
GenericTypeExplicitReference.create(
|
|
51
|
+
new GenericType(PrimitiveType.STRING),
|
|
52
|
+
),
|
|
56
53
|
);
|
|
57
54
|
stringInstance.values = [column.columnName];
|
|
58
55
|
return stringInstance;
|
|
@@ -69,11 +66,11 @@ const appendOlapGroupByColumnState = (
|
|
|
69
66
|
const sortByState = olapGroupByColumnState.sortByState;
|
|
70
67
|
sortByFunction = new SimpleFunctionExpression(
|
|
71
68
|
getFunctionNameFromTDSSortColumn(sortByState.sortType),
|
|
72
|
-
multiplicityOne,
|
|
73
69
|
);
|
|
74
70
|
const sortColInstance = new PrimitiveInstanceValue(
|
|
75
|
-
GenericTypeExplicitReference.create(
|
|
76
|
-
|
|
71
|
+
GenericTypeExplicitReference.create(
|
|
72
|
+
new GenericType(PrimitiveType.STRING),
|
|
73
|
+
),
|
|
77
74
|
);
|
|
78
75
|
sortColInstance.values = [sortByState.columnState.columnName];
|
|
79
76
|
sortByFunction.parametersValues[0] = sortColInstance;
|
|
@@ -82,12 +79,12 @@ const appendOlapGroupByColumnState = (
|
|
|
82
79
|
// create olap operation expression
|
|
83
80
|
const operationState = olapGroupByColumnState.operationState;
|
|
84
81
|
const olapFunc = extractElementNameFromPath(operationState.operator.pureFunc);
|
|
85
|
-
const olapFuncExpression = new SimpleFunctionExpression(
|
|
86
|
-
olapFunc,
|
|
87
|
-
multiplicityOne,
|
|
88
|
-
);
|
|
82
|
+
const olapFuncExpression = new SimpleFunctionExpression(olapFunc);
|
|
89
83
|
olapFuncExpression.parametersValues = [
|
|
90
|
-
new VariableExpression(
|
|
84
|
+
new VariableExpression(
|
|
85
|
+
operationState.lambdaParameterName,
|
|
86
|
+
Multiplicity.ONE,
|
|
87
|
+
),
|
|
91
88
|
];
|
|
92
89
|
const olapLambdaFuncInstance = buildGenericLambdaFunctionInstanceValue(
|
|
93
90
|
operationState.lambdaParameterName,
|
|
@@ -95,17 +92,17 @@ const appendOlapGroupByColumnState = (
|
|
|
95
92
|
graph,
|
|
96
93
|
);
|
|
97
94
|
let olapAggregationExpression: SimpleFunctionExpression | undefined;
|
|
98
|
-
if (operationState instanceof
|
|
95
|
+
if (operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState) {
|
|
99
96
|
// column param
|
|
100
97
|
const olapAggregateColumn = new PrimitiveInstanceValue(
|
|
101
|
-
GenericTypeExplicitReference.create(
|
|
102
|
-
|
|
98
|
+
GenericTypeExplicitReference.create(
|
|
99
|
+
new GenericType(PrimitiveType.STRING),
|
|
100
|
+
),
|
|
103
101
|
);
|
|
104
102
|
olapAggregateColumn.values = [operationState.columnState.columnName];
|
|
105
103
|
// build `meta::pure::tds::func`
|
|
106
104
|
olapAggregationExpression = new SimpleFunctionExpression(
|
|
107
105
|
extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FUNC),
|
|
108
|
-
multiplicityOne,
|
|
109
106
|
);
|
|
110
107
|
olapAggregationExpression.parametersValues = [
|
|
111
108
|
olapAggregateColumn,
|
|
@@ -115,17 +112,15 @@ const appendOlapGroupByColumnState = (
|
|
|
115
112
|
const olapOperationExpression =
|
|
116
113
|
olapAggregationExpression ?? olapLambdaFuncInstance;
|
|
117
114
|
|
|
118
|
-
// OLAP column
|
|
115
|
+
// OLAP column name expression
|
|
119
116
|
const olapColumn = new PrimitiveInstanceValue(
|
|
120
|
-
GenericTypeExplicitReference.create(new GenericType(
|
|
121
|
-
multiplicityOne,
|
|
117
|
+
GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)),
|
|
122
118
|
);
|
|
123
119
|
olapColumn.values = [olapGroupByColumnState.columnName];
|
|
124
120
|
|
|
125
121
|
// create main expression
|
|
126
122
|
const olapExpression = new SimpleFunctionExpression(
|
|
127
123
|
extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.OLAP_GROUPBY),
|
|
128
|
-
multiplicityOne,
|
|
129
124
|
);
|
|
130
125
|
const currentExpression = guaranteeNonNullable(lambda.expressionSequence[0]);
|
|
131
126
|
olapExpression.parametersValues = [
|
|
@@ -137,12 +132,12 @@ const appendOlapGroupByColumnState = (
|
|
|
137
132
|
return lambda;
|
|
138
133
|
};
|
|
139
134
|
|
|
140
|
-
export const
|
|
141
|
-
olapGroupByState:
|
|
135
|
+
export const appendOLAPGroupByState = (
|
|
136
|
+
olapGroupByState: QueryBuilderOLAPGroupByState,
|
|
142
137
|
lambda: LambdaFunction,
|
|
143
138
|
): LambdaFunction => {
|
|
144
139
|
olapGroupByState.olapColumns.forEach((c) =>
|
|
145
|
-
|
|
140
|
+
appendOLAPGroupByColumnState(c, lambda),
|
|
146
141
|
);
|
|
147
142
|
return lambda;
|
|
148
143
|
};
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { PrimitiveType, type PureModel, type Type } from '@finos/legend-graph';
|
|
18
18
|
import { type Hashable, uuid } from '@finos/legend-shared';
|
|
19
|
-
import type { QueryBuilderTDSColumnState } from '../../
|
|
19
|
+
import type { QueryBuilderTDSColumnState } from '../../QueryBuilderTDSColumnState.js';
|
|
20
20
|
|
|
21
|
-
export abstract class
|
|
21
|
+
export abstract class QueryBuilderTDS_OLAPOperator implements Hashable {
|
|
22
22
|
readonly uuid = uuid();
|
|
23
23
|
|
|
24
24
|
abstract getLabel(): string;
|
|
@@ -34,7 +34,7 @@ export abstract class QueryBuilderTDSOlapOperator implements Hashable {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
getOperatorReturnType(graph: PureModel): Type {
|
|
37
|
-
return
|
|
37
|
+
return PrimitiveType.NUMBER;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
isCompatibleWithColumn(column: QueryBuilderTDSColumnState): boolean {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
import { hashArray } from '@finos/legend-shared';
|
|
18
18
|
import { type Type, PRIMITIVE_TYPE } from '@finos/legend-graph';
|
|
19
|
-
import {
|
|
19
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
20
20
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
21
21
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPOperator_Average extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
override isColumnAggregator(): boolean {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDSOlapOperator_Average extends QueryBuilderTDSOlapOper
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
get hashCode(): string {
|
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_AVERAGE]);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
isCompatibleWithType(type: Type | undefined): boolean {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
import { hashArray } from '@finos/legend-shared';
|
|
18
18
|
import { type Type, PRIMITIVE_TYPE } from '@finos/legend-graph';
|
|
19
|
-
import {
|
|
19
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
20
20
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
21
21
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPOperator_Count extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
override isColumnAggregator(): boolean {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDSOlapOperator_Count extends QueryBuilderTDSOlapOperat
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
get hashCode(): string {
|
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_COUNT]);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
isCompatibleWithType(type: Type | undefined): boolean {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
import { hashArray } from '@finos/legend-shared';
|
|
18
18
|
import { type Type, PRIMITIVE_TYPE } from '@finos/legend-graph';
|
|
19
|
-
import {
|
|
19
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
20
20
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
21
21
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPOperator_Max extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
override isColumnAggregator(): boolean {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDSOlapOperator_Max extends QueryBuilderTDSOlapOperator
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
get hashCode(): string {
|
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_MAX]);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
isCompatibleWithType(type: Type | undefined): boolean {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
import { hashArray } from '@finos/legend-shared';
|
|
18
18
|
import { type Type, PRIMITIVE_TYPE } from '@finos/legend-graph';
|
|
19
|
-
import {
|
|
19
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
20
20
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
21
21
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPOperator_Min extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
override isColumnAggregator(): boolean {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDSOlapOperator_Min extends QueryBuilderTDSOlapOperator
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
get hashCode(): string {
|
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_MIN]);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
isCompatibleWithType(type: Type | undefined): boolean {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
import { hashArray } from '@finos/legend-shared';
|
|
18
18
|
import { type Type, PRIMITIVE_TYPE } from '@finos/legend-graph';
|
|
19
|
-
import {
|
|
19
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
20
20
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
21
21
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPOperator_Sum extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
override isColumnAggregator(): boolean {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDSOlapOperator_Sum extends QueryBuilderTDSOlapOperator
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
get hashCode(): string {
|
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_SUM]);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
isCompatibleWithType(type: Type | undefined): boolean {
|
|
@@ -18,9 +18,9 @@ import { PRIMITIVE_TYPE, type Type } from '@finos/legend-graph';
|
|
|
18
18
|
import { hashArray } from '@finos/legend-shared';
|
|
19
19
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
20
20
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
21
|
-
import {
|
|
21
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPRankOperator_AverageRank extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
getLabel(): string {
|
|
25
25
|
return 'average rank';
|
|
26
26
|
}
|
|
@@ -30,7 +30,9 @@ export class QueryBuilderTDSOlapRankOperator_AverageRank extends QueryBuilderTDS
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
get hashCode(): string {
|
|
33
|
-
return hashArray([
|
|
33
|
+
return hashArray([
|
|
34
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_DENSE_RANK,
|
|
35
|
+
]);
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
isCompatibleWithType(type: Type | undefined): boolean {
|
|
@@ -18,9 +18,9 @@ import { PRIMITIVE_TYPE, type Type } from '@finos/legend-graph';
|
|
|
18
18
|
import { hashArray } from '@finos/legend-shared';
|
|
19
19
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
20
20
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
21
|
-
import {
|
|
21
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPRankOperator_DenseRank extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
getLabel(): string {
|
|
25
25
|
return 'dense rank';
|
|
26
26
|
}
|
|
@@ -30,7 +30,9 @@ export class QueryBuilderTDSOlapRankOperator_DenseRank extends QueryBuilderTDSOl
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
get hashCode(): string {
|
|
33
|
-
return hashArray([
|
|
33
|
+
return hashArray([
|
|
34
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_DENSE_RANK,
|
|
35
|
+
]);
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
isCompatibleWithType(type: Type | undefined): boolean {
|
|
@@ -18,9 +18,9 @@ import { PRIMITIVE_TYPE, type Type } from '@finos/legend-graph';
|
|
|
18
18
|
import { hashArray } from '@finos/legend-shared';
|
|
19
19
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
20
20
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
21
|
-
import {
|
|
21
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPRankOperator_Rank extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
getLabel(): string {
|
|
25
25
|
return 'rank';
|
|
26
26
|
}
|
|
@@ -30,7 +30,7 @@ export class QueryBuilderTDSOlapRankOperator_Rank extends QueryBuilderTDSOlapOpe
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
get hashCode(): string {
|
|
33
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
|
33
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_RANK]);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
isCompatibleWithType(type: Type | undefined): boolean {
|
|
@@ -18,9 +18,9 @@ import { PRIMITIVE_TYPE, type Type } from '@finos/legend-graph';
|
|
|
18
18
|
import { hashArray } from '@finos/legend-shared';
|
|
19
19
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
|
20
20
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
|
21
|
-
import {
|
|
21
|
+
import { QueryBuilderTDS_OLAPOperator } from './QueryBuilderTDS_OLAPOperator.js';
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class QueryBuilderTDS_OLAPRankOperator_RowNumber extends QueryBuilderTDS_OLAPOperator {
|
|
24
24
|
getLabel(): string {
|
|
25
25
|
return 'row number';
|
|
26
26
|
}
|
|
@@ -30,7 +30,9 @@ export class QueryBuilderTDSOlapRankOperator_RowNumber extends QueryBuilderTDSOl
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
get hashCode(): string {
|
|
33
|
-
return hashArray([
|
|
33
|
+
return hashArray([
|
|
34
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_OPERATOR_ROW_NUMBER,
|
|
35
|
+
]);
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
isCompatibleWithType(type: Type | undefined): boolean {
|