@finos/legend-query-builder 0.6.23 → 0.6.24
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +8 -5
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +1 -1
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +2 -2
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilder_TestID.d.ts +1 -1
- package/lib/components/QueryBuilder_TestID.d.ts.map +1 -1
- package/lib/components/QueryBuilder_TestID.js +1 -1
- package/lib/components/QueryBuilder_TestID.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +5 -5
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts.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/{QueryBuilderOLAPGroupByPanel.d.ts → QueryBuilderTDSWindowPanel.d.ts} +4 -4
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/{QueryBuilderOLAPGroupByPanel.js → QueryBuilderTDSWindowPanel.js} +94 -94
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -0
- package/lib/components/workflows/ClassQueryBuilder.js +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +1 -1
- package/lib/components/workflows/MappingQueryBuilder.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/index.css +1 -1
- package/lib/package.json +6 -6
- package/lib/stores/QueryBuilderStateBuilder.js +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +2 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +2 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +6 -6
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +13 -13
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +2 -2
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.d.ts → window/QueryBuilderWindowGroupByOperatorLoader.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.js +36 -0
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.js.map +1 -0
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts +91 -0
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByState.js → window/QueryBuilderWindowState.js} +55 -53
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByStateBuilder.d.ts → window/QueryBuilderWindowStateBuilder.d.ts} +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByStateBuilder.js → window/QueryBuilderWindowStateBuilder.js} +10 -10
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder.d.ts → window/QueryBuilderWindowValueSpecificationBuilder.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder.js → window/QueryBuilderWindowValueSpecificationBuilder.js} +5 -5
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.d.ts → window/operators/QueryBuilderTDS_WindowOperator.d.ts} +2 -2
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js → window/operators/QueryBuilderTDS_WindowOperator.js} +2 -2
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator.js.map +1 -0
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.d.ts +25 -0
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.js → window/operators/QueryBuilderTDS_WindowOperator_Average.js} +6 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.d.ts → window/operators/QueryBuilderTDS_WindowOperator_Count.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.js → window/operators/QueryBuilderTDS_WindowOperator_Count.js} +4 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.d.ts → window/operators/QueryBuilderTDS_WindowOperator_Max.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.js → window/operators/QueryBuilderTDS_WindowOperator_Max.js} +4 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.d.ts → window/operators/QueryBuilderTDS_WindowOperator_Min.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.js → window/operators/QueryBuilderTDS_WindowOperator_Min.js} +4 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.d.ts → window/operators/QueryBuilderTDS_WindowOperator_Sum.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.js → window/operators/QueryBuilderTDS_WindowOperator_Sum.js} +4 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts → window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.js → window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js} +4 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts → window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.js → window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js} +4 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts → window/operators/QueryBuilderTDS_WindowRankOperator_Rank.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.js → window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js} +4 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.d.ts → window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.js → window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js} +4 -4
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -0
- package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
- package/lib/stores/shared/LambdaParameterState.js.map +1 -1
- package/package.json +13 -13
- package/src/components/QueryBuilder.tsx +16 -6
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +1 -1
- package/src/components/QueryBuilderParametersPanel.tsx +1 -1
- package/src/components/QueryBuilderSideBar.tsx +2 -2
- package/src/components/QueryBuilder_TestID.ts +1 -1
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +8 -8
- package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +6 -8
- package/src/components/fetch-structure/{QueryBuilderOLAPGroupByPanel.tsx → QueryBuilderTDSWindowPanel.tsx} +166 -166
- package/src/components/workflows/ClassQueryBuilder.tsx +1 -1
- package/src/components/workflows/MappingQueryBuilder.tsx +1 -1
- package/src/graphManager/QueryBuilderHashUtils.ts +14 -14
- package/src/stores/QueryBuilderStateBuilder.ts +1 -1
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +4 -2
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +3 -1
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +16 -16
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +2 -2
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +2 -2
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.ts +39 -0
- package/src/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByState.ts → window/QueryBuilderWindowState.ts} +83 -76
- package/src/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByStateBuilder.ts → window/QueryBuilderWindowStateBuilder.ts} +19 -19
- package/src/stores/fetch-structure/tds/{olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder.ts → window/QueryBuilderWindowValueSpecificationBuilder.ts} +9 -9
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.ts → window/operators/QueryBuilderTDS_WindowOperator.ts} +1 -1
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.ts → window/operators/QueryBuilderTDS_WindowOperator_Average.ts} +5 -3
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.ts → window/operators/QueryBuilderTDS_WindowOperator_Count.ts} +3 -3
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.ts → window/operators/QueryBuilderTDS_WindowOperator_Max.ts} +3 -3
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.ts → window/operators/QueryBuilderTDS_WindowOperator_Min.ts} +3 -3
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.ts → window/operators/QueryBuilderTDS_WindowOperator_Sum.ts} +3 -3
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.ts → window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.ts} +3 -3
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.ts → window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.ts} +3 -3
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.ts → window/operators/QueryBuilderTDS_WindowRankOperator_Rank.ts} +3 -3
- package/src/stores/fetch-structure/tds/{olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.ts → window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.ts} +3 -3
- package/src/stores/shared/LambdaParameterState.ts +1 -0
- package/tsconfig.json +15 -15
- 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/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 +0 -91
- 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/QueryBuilderTDS_OLAPOperator.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.d.ts +0 -25
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.js.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.js.map +0 -1
- package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.ts +0 -39
@@ -39,12 +39,12 @@ import {
|
|
39
39
|
} from '../QueryBuilderTDSHelper.js';
|
40
40
|
import { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
41
41
|
import {
|
42
|
-
type
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
} from './
|
42
|
+
type QueryBuilderTDS_WindowOperatorState,
|
43
|
+
WindowGroupByColumnSortByState,
|
44
|
+
QueryBuilderWindowColumnState,
|
45
|
+
QueryBuilderTDS_WindowAggreationOperatorState,
|
46
|
+
QueryBuilderTDS_WindowRankOperatorState,
|
47
|
+
} from './QueryBuilderWindowState.js';
|
48
48
|
|
49
49
|
export const processTDS_OLAPGroupByExpression = (
|
50
50
|
expression: SimpleFunctionExpression,
|
@@ -118,7 +118,7 @@ export const processTDS_OLAPGroupByExpression = (
|
|
118
118
|
});
|
119
119
|
|
120
120
|
// process sortBy
|
121
|
-
let sortByState:
|
121
|
+
let sortByState: WindowGroupByColumnSortByState | undefined;
|
122
122
|
if (containsSortByExpression) {
|
123
123
|
const sortByExpression = guaranteeType(
|
124
124
|
sortByValueSpec,
|
@@ -136,10 +136,10 @@ export const processTDS_OLAPGroupByExpression = (
|
|
136
136
|
'Can`t process OLAP sort column: OLAP sort column should be a string primitive instance value',
|
137
137
|
);
|
138
138
|
const sortColState = getTDSColumnState(tdsState, colSortVal);
|
139
|
-
sortByState = new
|
139
|
+
sortByState = new WindowGroupByColumnSortByState(sortColState, colSortType);
|
140
140
|
}
|
141
141
|
// process olap operation
|
142
|
-
let operatorState:
|
142
|
+
let operatorState: QueryBuilderTDS_WindowOperatorState;
|
143
143
|
if (olapOperationExpression instanceof SimpleFunctionExpression) {
|
144
144
|
assertTrue(
|
145
145
|
matchFunctionName(olapOperationExpression.functionName, [
|
@@ -171,11 +171,11 @@ export const processTDS_OLAPGroupByExpression = (
|
|
171
171
|
SimpleFunctionExpression,
|
172
172
|
);
|
173
173
|
const operation = guaranteeNonNullable(
|
174
|
-
tdsState.
|
174
|
+
tdsState.windowState.findOperator(operationFunctionExp.functionName),
|
175
175
|
`olapGroupBy() operator '${operationFunctionExp.functionName}' not supported`,
|
176
176
|
);
|
177
|
-
operatorState = new
|
178
|
-
tdsState.
|
177
|
+
operatorState = new QueryBuilderTDS_WindowAggreationOperatorState(
|
178
|
+
tdsState.windowState,
|
179
179
|
operation,
|
180
180
|
oppColumnState,
|
181
181
|
);
|
@@ -198,15 +198,15 @@ export const processTDS_OLAPGroupByExpression = (
|
|
198
198
|
SimpleFunctionExpression,
|
199
199
|
);
|
200
200
|
const operation = guaranteeNonNullable(
|
201
|
-
tdsState.
|
201
|
+
tdsState.windowState.findOperator(operationFunctionExp.functionName),
|
202
202
|
`olapGroupBy() operator '${operationFunctionExp.functionName}' not supported`,
|
203
203
|
);
|
204
204
|
assertTrue(
|
205
205
|
!operation.isColumnAggregator(),
|
206
206
|
`Operator '${operation.getLabel()}' expects a TDS column to aggregate against`,
|
207
207
|
);
|
208
|
-
operatorState = new
|
209
|
-
tdsState.
|
208
|
+
operatorState = new QueryBuilderTDS_WindowRankOperatorState(
|
209
|
+
tdsState.windowState,
|
210
210
|
operation,
|
211
211
|
);
|
212
212
|
operatorState.setLambdaParameterName(
|
@@ -227,13 +227,13 @@ export const processTDS_OLAPGroupByExpression = (
|
|
227
227
|
).values[0],
|
228
228
|
'Can`t process OLAP column: OLAP column should be a string primitive instance value',
|
229
229
|
);
|
230
|
-
const olapGroupByColumnState = new
|
231
|
-
tdsState.
|
230
|
+
const olapGroupByColumnState = new QueryBuilderWindowColumnState(
|
231
|
+
tdsState.windowState,
|
232
232
|
windowColumns,
|
233
233
|
sortByState,
|
234
234
|
operatorState,
|
235
235
|
olapColumnValue,
|
236
236
|
);
|
237
|
-
tdsState.
|
238
|
-
tdsState.
|
237
|
+
tdsState.windowState.addWindowColumn(olapGroupByColumnState);
|
238
|
+
tdsState.setShowWindowFuncPanel(true);
|
239
239
|
};
|
@@ -31,17 +31,17 @@ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/Quer
|
|
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 QueryBuilderWindowColumnState,
|
35
|
+
type QueryBuilderWindowState,
|
36
|
+
QueryBuilderTDS_WindowAggreationOperatorState,
|
37
|
+
} from './QueryBuilderWindowState.js';
|
38
38
|
|
39
39
|
const appendOLAPGroupByColumnState = (
|
40
|
-
olapGroupByColumnState:
|
40
|
+
olapGroupByColumnState: QueryBuilderWindowColumnState,
|
41
41
|
lambda: LambdaFunction,
|
42
42
|
): LambdaFunction => {
|
43
43
|
const graph =
|
44
|
-
olapGroupByColumnState.
|
44
|
+
olapGroupByColumnState.windowState.tdsState.queryBuilderState
|
45
45
|
.graphManagerState.graph;
|
46
46
|
|
47
47
|
// create window cols expression
|
@@ -92,7 +92,7 @@ const appendOLAPGroupByColumnState = (
|
|
92
92
|
graph,
|
93
93
|
);
|
94
94
|
let olapAggregationExpression: SimpleFunctionExpression | undefined;
|
95
|
-
if (operationState instanceof
|
95
|
+
if (operationState instanceof QueryBuilderTDS_WindowAggreationOperatorState) {
|
96
96
|
// column param
|
97
97
|
const olapAggregateColumn = new PrimitiveInstanceValue(
|
98
98
|
GenericTypeExplicitReference.create(
|
@@ -133,10 +133,10 @@ const appendOLAPGroupByColumnState = (
|
|
133
133
|
};
|
134
134
|
|
135
135
|
export const appendOLAPGroupByState = (
|
136
|
-
olapGroupByState:
|
136
|
+
olapGroupByState: QueryBuilderWindowState,
|
137
137
|
lambda: LambdaFunction,
|
138
138
|
): LambdaFunction => {
|
139
|
-
olapGroupByState.
|
139
|
+
olapGroupByState.windowColumns.forEach((c) =>
|
140
140
|
appendOLAPGroupByColumnState(c, lambda),
|
141
141
|
);
|
142
142
|
return lambda;
|
@@ -18,7 +18,7 @@ import { PrimitiveType, type PureModel, type Type } from '@finos/legend-graph';
|
|
18
18
|
import { type Hashable, uuid } from '@finos/legend-shared';
|
19
19
|
import type { QueryBuilderTDSColumnState } from '../../QueryBuilderTDSColumnState.js';
|
20
20
|
|
21
|
-
export abstract class
|
21
|
+
export abstract class QueryBuilderTDS_WindowOperator implements Hashable {
|
22
22
|
readonly uuid = uuid();
|
23
23
|
|
24
24
|
abstract getLabel(): string;
|
@@ -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_WindowOperator } from './QueryBuilderTDS_WindowOperator.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_WindowOperator_Average extends QueryBuilderTDS_WindowOperator {
|
24
24
|
override isColumnAggregator(): boolean {
|
25
25
|
return true;
|
26
26
|
}
|
@@ -33,7 +33,9 @@ export class QueryBuilderTDS_OLAPOperator_Average extends QueryBuilderTDS_OLAPOp
|
|
33
33
|
}
|
34
34
|
|
35
35
|
get hashCode(): string {
|
36
|
-
return hashArray([
|
36
|
+
return hashArray([
|
37
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_OPERATOR_AVERAGE,
|
38
|
+
]);
|
37
39
|
}
|
38
40
|
|
39
41
|
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_WindowOperator } from './QueryBuilderTDS_WindowOperator.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_WindowOperator_Count extends QueryBuilderTDS_WindowOperator {
|
24
24
|
override isColumnAggregator(): boolean {
|
25
25
|
return true;
|
26
26
|
}
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDS_OLAPOperator_Count extends QueryBuilderTDS_OLAPOper
|
|
33
33
|
}
|
34
34
|
|
35
35
|
get hashCode(): string {
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_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_WindowOperator } from './QueryBuilderTDS_WindowOperator.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_WindowOperator_Max extends QueryBuilderTDS_WindowOperator {
|
24
24
|
override isColumnAggregator(): boolean {
|
25
25
|
return true;
|
26
26
|
}
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDS_OLAPOperator_Max extends QueryBuilderTDS_OLAPOperat
|
|
33
33
|
}
|
34
34
|
|
35
35
|
get hashCode(): string {
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_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_WindowOperator } from './QueryBuilderTDS_WindowOperator.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_WindowOperator_Min extends QueryBuilderTDS_WindowOperator {
|
24
24
|
override isColumnAggregator(): boolean {
|
25
25
|
return true;
|
26
26
|
}
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDS_OLAPOperator_Min extends QueryBuilderTDS_OLAPOperat
|
|
33
33
|
}
|
34
34
|
|
35
35
|
get hashCode(): string {
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_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_WindowOperator } from './QueryBuilderTDS_WindowOperator.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_WindowOperator_Sum extends QueryBuilderTDS_WindowOperator {
|
24
24
|
override isColumnAggregator(): boolean {
|
25
25
|
return true;
|
26
26
|
}
|
@@ -33,7 +33,7 @@ export class QueryBuilderTDS_OLAPOperator_Sum extends QueryBuilderTDS_OLAPOperat
|
|
33
33
|
}
|
34
34
|
|
35
35
|
get hashCode(): string {
|
36
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
36
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_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_WindowOperator } from './QueryBuilderTDS_WindowOperator.js';
|
22
22
|
|
23
|
-
export class
|
23
|
+
export class QueryBuilderTDS_WindowRankOperator_AverageRank extends QueryBuilderTDS_WindowOperator {
|
24
24
|
getLabel(): string {
|
25
25
|
return 'average rank';
|
26
26
|
}
|
@@ -31,7 +31,7 @@ export class QueryBuilderTDS_OLAPRankOperator_AverageRank extends QueryBuilderTD
|
|
31
31
|
|
32
32
|
get hashCode(): string {
|
33
33
|
return hashArray([
|
34
|
-
QUERY_BUILDER_HASH_STRUCTURE.
|
34
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_OPERATOR_DENSE_RANK,
|
35
35
|
]);
|
36
36
|
}
|
37
37
|
|
@@ -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_WindowOperator } from './QueryBuilderTDS_WindowOperator.js';
|
22
22
|
|
23
|
-
export class
|
23
|
+
export class QueryBuilderTDS_WindowRankOperator_DenseRank extends QueryBuilderTDS_WindowOperator {
|
24
24
|
getLabel(): string {
|
25
25
|
return 'dense rank';
|
26
26
|
}
|
@@ -31,7 +31,7 @@ export class QueryBuilderTDS_OLAPRankOperator_DenseRank extends QueryBuilderTDS_
|
|
31
31
|
|
32
32
|
get hashCode(): string {
|
33
33
|
return hashArray([
|
34
|
-
QUERY_BUILDER_HASH_STRUCTURE.
|
34
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_OPERATOR_DENSE_RANK,
|
35
35
|
]);
|
36
36
|
}
|
37
37
|
|
@@ -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_WindowOperator } from './QueryBuilderTDS_WindowOperator.js';
|
22
22
|
|
23
|
-
export class
|
23
|
+
export class QueryBuilderTDS_WindowRankOperator_Rank extends QueryBuilderTDS_WindowOperator {
|
24
24
|
getLabel(): string {
|
25
25
|
return 'rank';
|
26
26
|
}
|
@@ -30,7 +30,7 @@ export class QueryBuilderTDS_OLAPRankOperator_Rank extends QueryBuilderTDS_OLAPO
|
|
30
30
|
}
|
31
31
|
|
32
32
|
get hashCode(): string {
|
33
|
-
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.
|
33
|
+
return hashArray([QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_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_WindowOperator } from './QueryBuilderTDS_WindowOperator.js';
|
22
22
|
|
23
|
-
export class
|
23
|
+
export class QueryBuilderTDS_WindowRankOperator_RowNumber extends QueryBuilderTDS_WindowOperator {
|
24
24
|
getLabel(): string {
|
25
25
|
return 'row number';
|
26
26
|
}
|
@@ -31,7 +31,7 @@ export class QueryBuilderTDS_OLAPRankOperator_RowNumber extends QueryBuilderTDS_
|
|
31
31
|
|
32
32
|
get hashCode(): string {
|
33
33
|
return hashArray([
|
34
|
-
QUERY_BUILDER_HASH_STRUCTURE.
|
34
|
+
QUERY_BUILDER_HASH_STRUCTURE.TDS_WINDOW_OPERATOR_ROW_NUMBER,
|
35
35
|
]);
|
36
36
|
}
|
37
37
|
|
@@ -216,6 +216,7 @@ export class LambdaParameterState implements Hashable {
|
|
216
216
|
mockParameterValue: action,
|
217
217
|
hashCode: computed,
|
218
218
|
});
|
219
|
+
|
219
220
|
this.observableContext = observableContext;
|
220
221
|
this.parameter = observe_VariableExpression(variableExpression);
|
221
222
|
this.graph = graph;
|
package/tsconfig.json
CHANGED
@@ -97,20 +97,6 @@
|
|
97
97
|
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts",
|
98
98
|
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts",
|
99
99
|
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts",
|
100
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.ts",
|
101
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState.ts",
|
102
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder.ts",
|
103
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder.ts",
|
104
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.ts",
|
105
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.ts",
|
106
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.ts",
|
107
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.ts",
|
108
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.ts",
|
109
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.ts",
|
110
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.ts",
|
111
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.ts",
|
112
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.ts",
|
113
|
-
"./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.ts",
|
114
100
|
"./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts",
|
115
101
|
"./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperatorLoader.ts",
|
116
102
|
"./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts",
|
@@ -131,6 +117,20 @@
|
|
131
117
|
"./src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts",
|
132
118
|
"./src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts",
|
133
119
|
"./src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts",
|
120
|
+
"./src/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.ts",
|
121
|
+
"./src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts",
|
122
|
+
"./src/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.ts",
|
123
|
+
"./src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts",
|
124
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator.ts",
|
125
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.ts",
|
126
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.ts",
|
127
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.ts",
|
128
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.ts",
|
129
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.ts",
|
130
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.ts",
|
131
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.ts",
|
132
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.ts",
|
133
|
+
"./src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.ts",
|
134
134
|
"./src/stores/filter/QueryBuilderFilterOperator.ts",
|
135
135
|
"./src/stores/filter/QueryBuilderFilterOperatorLoader.ts",
|
136
136
|
"./src/stores/filter/QueryBuilderFilterState.ts",
|
@@ -181,12 +181,12 @@
|
|
181
181
|
"./src/components/explorer/QueryBuilderPropertySearchPanel.tsx",
|
182
182
|
"./src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx",
|
183
183
|
"./src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx",
|
184
|
-
"./src/components/fetch-structure/QueryBuilderOLAPGroupByPanel.tsx",
|
185
184
|
"./src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx",
|
186
185
|
"./src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx",
|
187
186
|
"./src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx",
|
188
187
|
"./src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx",
|
189
188
|
"./src/components/fetch-structure/QueryBuilderTDSPanel.tsx",
|
189
|
+
"./src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx",
|
190
190
|
"./src/components/filter/QueryBuilderFilterPanel.tsx",
|
191
191
|
"./src/components/shared/BasicValueSpecificationEditor.tsx",
|
192
192
|
"./src/components/shared/CustomDatePicker.tsx",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderOLAPGroupByPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderOLAPGroupByPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAoCH,OAAO,EACL,KAAK,4BAA4B,EAOlC,MAAM,8EAA8E,CAAC;AA6hCtF,eAAO,MAAM,4BAA4B,WAC/B;IAAE,gBAAgB,EAAE,4BAA4B,CAAA;CAAE;;CAgH3D,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderOLAPGroupByPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderOLAPGroupByPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,yBAAyB,EACzB,WAAW,EACX,eAAe,EACf,SAAS,EACT,aAAa,EACb,IAAI,EACJ,6BAA6B,EAC7B,WAAW,EACX,sBAAsB,EACtB,SAAS,E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CAAC,0BAA0B,EAC7D,SAAS,EAAC,OAAO,aAEjB,eAAK,SAAS,EAAC,eAAe,aAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,qBAAW,GACnD,EACN,cAAK,SAAS,EAAC,wBAAwB,YACrC,iBACE,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,EACtD,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,4BAA4B,YAElC,KAAC,QAAQ,KAAG,GACL,GACL,IACF,EACN,KAAC,YAAY,cACX,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,gBAAgB,CAAC,OAAO,IAAI,CAC3B,KAAC,qBAAqB,IACpB,IAAI,EAAC,yBAAyB,EAC9B,WAAW,EAAC,4BAA4B,GACxC,CACH,EACA,CAAC,gBAAgB,CAAC,OAAO,IAAI,CAC5B,6BACe,qBAAqB,CAAC,iBAAiB,EACpD,SAAS,EAAC,8BAA8B,YAEvC,gBAAgB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACzC,KAAC,mCAAmC,IAClC,eAAe,EAAE,GAAG,IACf,GAAG,CAAC,IAAI,CACb,CACH,CAAC,GACE,CACP,IACa,GACH,EACd,gBAAgB,CAAC,UAAU,IAAI,CAC9B,KAAC,iCAAiC,IAChC,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,gBAAgB,CAAC,UAAU,GAC5C,CACH,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderOLAPGroupByOperatorLoader.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAWhG,eAAO,MAAM,uCAAuC,QAC9C,4BAA4B,EAU/B,CAAC"}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { QueryBuilderTDS_OLAPRankOperator_AverageRank } from './operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.js';
|
17
|
-
import { QueryBuilderTDS_OLAPRankOperator_DenseRank } from './operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.js';
|
18
|
-
import { QueryBuilderTDS_OLAPRankOperator_Rank } from './operators/QueryBuilderTDS_OLAPRankOperator_Rank.js';
|
19
|
-
import { QueryBuilderTDS_OLAPRankOperator_RowNumber } from './operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.js';
|
20
|
-
import { QueryBuilderTDS_OLAPOperator_Sum } from './operators/QueryBuilderTDS_OLAPOperator_Sum.js';
|
21
|
-
import { QueryBuilderTDS_OLAPOperator_Count } from './operators/QueryBuilderTDS_OLAPOperator_Count.js';
|
22
|
-
import { QueryBuilderTDS_OLAPOperator_Max } from './operators/QueryBuilderTDS_OLAPOperator_Max.js';
|
23
|
-
import { QueryBuilderTDS_OLAPOperator_Min } from './operators/QueryBuilderTDS_OLAPOperator_Min.js';
|
24
|
-
import { QueryBuilderTDS_OLAPOperator_Average } from './operators/QueryBuilderTDS_OLAPOperator_Average.js';
|
25
|
-
export const getQueryBuilderCoreOLAPGroupByOperators = () => [
|
26
|
-
new QueryBuilderTDS_OLAPOperator_Sum(),
|
27
|
-
new QueryBuilderTDS_OLAPOperator_Count(),
|
28
|
-
new QueryBuilderTDS_OLAPOperator_Max(),
|
29
|
-
new QueryBuilderTDS_OLAPOperator_Min(),
|
30
|
-
new QueryBuilderTDS_OLAPOperator_Average(),
|
31
|
-
new QueryBuilderTDS_OLAPRankOperator_AverageRank(),
|
32
|
-
new QueryBuilderTDS_OLAPRankOperator_DenseRank(),
|
33
|
-
new QueryBuilderTDS_OLAPRankOperator_Rank(),
|
34
|
-
new QueryBuilderTDS_OLAPRankOperator_RowNumber(),
|
35
|
-
];
|
36
|
-
//# sourceMappingURL=QueryBuilderOLAPGroupByOperatorLoader.js.map
|
package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderOLAPGroupByOperatorLoader.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,4CAA4C,EAAE,MAAM,6DAA6D,CAAC;AAC3H,OAAO,EAAE,0CAA0C,EAAE,MAAM,2DAA2D,CAAC;AACvH,OAAO,EAAE,qCAAqC,EAAE,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2DAA2D,CAAC;AACvH,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,kCAAkC,EAAE,MAAM,mDAAmD,CAAC;AACvG,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qDAAqD,CAAC;AAE3G,MAAM,CAAC,MAAM,uCAAuC,GAClD,GAAmC,EAAE,CAAC;IACpC,IAAI,gCAAgC,EAAE;IACtC,IAAI,kCAAkC,EAAE;IACxC,IAAI,gCAAgC,EAAE;IACtC,IAAI,gCAAgC,EAAE;IACtC,IAAI,oCAAoC,EAAE;IAC1C,IAAI,4CAA4C,EAAE;IAClD,IAAI,0CAA0C,EAAE;IAChD,IAAI,qCAAqC,EAAE;IAC3C,IAAI,0CAA0C,EAAE;CACjD,CAAC"}
|
@@ -1,91 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { type Type } from '@finos/legend-graph';
|
17
|
-
import { type Hashable } from '@finos/legend-shared';
|
18
|
-
import type { QueryBuilderProjectionColumnDragSource } from '../projection/QueryBuilderProjectionColumnState.js';
|
19
|
-
import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
|
20
|
-
import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
21
|
-
import type { COLUMN_SORT_TYPE } from '../QueryResultSetModifierState.js';
|
22
|
-
import type { QueryBuilderTDS_OLAPOperator } from './operators/QueryBuilderTDS_OLAPOperator.js';
|
23
|
-
export declare const QUERY_BUILDER_OLAP_COLUMN_DND_TYPE = "OLAP_COLUMN";
|
24
|
-
export interface QueryBuilderOLAPColumnDragSource {
|
25
|
-
columnState: QueryBuilderTDSColumnState;
|
26
|
-
}
|
27
|
-
export type QueryBuilderOLAPDropTarget = QueryBuilderProjectionColumnDragSource | QueryBuilderOLAPColumnDragSource;
|
28
|
-
export declare class OLAPGroupByColumnSortByState implements Hashable {
|
29
|
-
columnState: QueryBuilderTDSColumnState;
|
30
|
-
sortType: COLUMN_SORT_TYPE;
|
31
|
-
constructor(columnState: QueryBuilderTDSColumnState, sortType: COLUMN_SORT_TYPE);
|
32
|
-
setColumnState(colState: QueryBuilderTDSColumnState): void;
|
33
|
-
setSortType(type: COLUMN_SORT_TYPE): void;
|
34
|
-
get hashCode(): string;
|
35
|
-
}
|
36
|
-
export declare abstract class QueryBuilderTDS_OLAPOperatorState implements Hashable {
|
37
|
-
readonly olapState: QueryBuilderOLAPGroupByState;
|
38
|
-
lambdaParameterName: string;
|
39
|
-
operator: QueryBuilderTDS_OLAPOperator;
|
40
|
-
constructor(olapState: QueryBuilderOLAPGroupByState, operator: QueryBuilderTDS_OLAPOperator);
|
41
|
-
setLambdaParameterName(paramName: string): void;
|
42
|
-
setOperator(val: QueryBuilderTDS_OLAPOperator): void;
|
43
|
-
get hashCode(): string;
|
44
|
-
}
|
45
|
-
export declare class QueryBuilderTDS_OLAPRankOperatorState extends QueryBuilderTDS_OLAPOperatorState {
|
46
|
-
constructor(olapState: QueryBuilderOLAPGroupByState, operator: QueryBuilderTDS_OLAPOperator);
|
47
|
-
}
|
48
|
-
export declare class QueryBuilderTDS_OLAPAggreationOperatorState extends QueryBuilderTDS_OLAPOperatorState {
|
49
|
-
columnState: QueryBuilderTDSColumnState;
|
50
|
-
constructor(olapState: QueryBuilderOLAPGroupByState, operator: QueryBuilderTDS_OLAPOperator, columnState: QueryBuilderTDSColumnState);
|
51
|
-
setColumnState(val: QueryBuilderTDSColumnState): void;
|
52
|
-
get hashCode(): string;
|
53
|
-
}
|
54
|
-
export declare class QueryBuilderOLAPGroupByColumnState extends QueryBuilderTDSColumnState implements Hashable {
|
55
|
-
readonly olapState: QueryBuilderOLAPGroupByState;
|
56
|
-
windowColumns: QueryBuilderTDSColumnState[];
|
57
|
-
sortByState: OLAPGroupByColumnSortByState | undefined;
|
58
|
-
operationState: QueryBuilderTDS_OLAPOperatorState;
|
59
|
-
columnName: string;
|
60
|
-
constructor(olapState: QueryBuilderOLAPGroupByState, windowColumns: QueryBuilderTDSColumnState[], sortType: OLAPGroupByColumnSortByState | undefined, operationState: QueryBuilderTDS_OLAPOperatorState, columnName: string);
|
61
|
-
get columnOLAPGroupIdx(): number;
|
62
|
-
get possibleReferencedColumns(): QueryBuilderTDSColumnState[];
|
63
|
-
get referencedTDSColumns(): QueryBuilderTDSColumnState[];
|
64
|
-
getColumnType(): Type | undefined;
|
65
|
-
setColumnName(val: string): void;
|
66
|
-
setOperatorState(op: QueryBuilderTDS_OLAPOperatorState): void;
|
67
|
-
setSortBy(val: OLAPGroupByColumnSortByState | undefined): void;
|
68
|
-
changeWindow(val: QueryBuilderTDSColumnState, idx: number): void;
|
69
|
-
addWindow(val: QueryBuilderTDSColumnState): void;
|
70
|
-
deleteWindow(val: QueryBuilderTDSColumnState): void;
|
71
|
-
possibleAggregatedColumns(op: QueryBuilderTDS_OLAPOperator): QueryBuilderTDSColumnState[];
|
72
|
-
changeOperator(olapOp: QueryBuilderTDS_OLAPOperator): void;
|
73
|
-
changeSortBy(sortOp: COLUMN_SORT_TYPE | undefined): void;
|
74
|
-
get hashCode(): string;
|
75
|
-
}
|
76
|
-
export declare class QueryBuilderOLAPGroupByState implements Hashable {
|
77
|
-
readonly tdsState: QueryBuilderTDSState;
|
78
|
-
olapColumns: QueryBuilderOLAPGroupByColumnState[];
|
79
|
-
operators: QueryBuilderTDS_OLAPOperator[];
|
80
|
-
editColumn: QueryBuilderOLAPGroupByColumnState | undefined;
|
81
|
-
constructor(tdsState: QueryBuilderTDSState, operators: QueryBuilderTDS_OLAPOperator[]);
|
82
|
-
get isEmpty(): boolean;
|
83
|
-
get referencedTDSColumns(): QueryBuilderTDSColumnState[];
|
84
|
-
setEditColumn(col: QueryBuilderOLAPGroupByColumnState | undefined): void;
|
85
|
-
findOperator(func: string): QueryBuilderTDS_OLAPOperator | undefined;
|
86
|
-
addOLAPColumn(olapGroupByCol: QueryBuilderOLAPGroupByColumnState): void;
|
87
|
-
removeColumn(column: QueryBuilderOLAPGroupByColumnState): void;
|
88
|
-
moveColumn(fromIndex: number, toIndex: number): void;
|
89
|
-
get hashCode(): string;
|
90
|
-
}
|
91
|
-
//# sourceMappingURL=QueryBuilderOLAPGroupByState.d.ts.map
|