UNPKG

@finos/legend-data-cube

Version:
33 lines 2.12 kB
/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { type V1_ColSpec } from '@finos/legend-graph'; import { type DataCubeSnapshot } from '../../core/DataCubeSnapshot.js'; import { type DataCubeGridClientDataFetchRequest } from './DataCubeGridClientEngine.js'; import type { DataCubeSource } from '../../core/model/DataCubeSource.js'; import type { DataCubeEngine } from '../../core/DataCubeEngine.js'; import type { DataCubeDimensionalNode } from './DataCubeGridDimensionalTree.js'; /***************************************************************************** * [GRID] * * These are utilities used to build adhoc executable queries for fetching * data for the grid. The grid comes with features that requires building * slight modifications of the persistent query that would be generated from * the snapshot, such as in the case of pagination, drilldown (group by). *****************************************************************************/ export declare function _aggCountCol(): V1_ColSpec; export declare function buildGridDataFetchExecutableQuery(request: DataCubeGridClientDataFetchRequest, snapshot: DataCubeSnapshot, source: DataCubeSource, engine: DataCubeEngine, enablePagination: boolean): import("@finos/legend-graph").V1_ValueSpecification; export declare function buildDimensionalGridDataFetchExecutableQuery(snapshot: DataCubeSnapshot, source: DataCubeSource, engine: DataCubeEngine, nodes: DataCubeDimensionalNode[]): import("@finos/legend-graph").V1_ValueSpecification; //# sourceMappingURL=DataCubeGridQueryBuilder.d.ts.map