@gooddata/gooddata-js
Version:
GoodData JavaScript SDK
36 lines (35 loc) • 1.7 kB
TypeScript
import { XhrModule } from "../xhr";
/**
* Module for execution on experimental execution resource
*
* @class execution
* @module execution
* @deprecated The module is in maintenance mode only (just the the compilation issues are being fixed when
* referenced utilities and interfaces are being changed) and is not being extended when AFM executor
* have new functionality added.
*/
export declare class ExperimentalExecutionsModule {
private xhr;
private loadAttributesMap;
constructor(xhr: XhrModule, loadAttributesMap: any);
/**
* For the given projectId it returns table structure with the given
* elements in column headers.
*
* @method getData
* @param {String} projectId - GD project identifier
* @param {Array} columns - An array of attribute or metric identifiers.
* @param {Object} executionConfiguration - Execution configuration - can contain for example
* property "where" containing query-like filters
* property "orderBy" contains array of sorted properties to order in form
* [{column: 'identifier', direction: 'asc|desc'}]
* @param {Object} settings - Supports additional settings accepted by the underlying
* xhr.ajax() calls
*
* @return {Object} Structure with `headers` and `rawData` keys filled with values from execution.
*/
getData(projectId: string, columns: any[], executionConfiguration?: any, settings?: any): Promise<any>;
mdToExecutionDefinitionsAndColumns(projectId: string, mdObj: any, options?: {}): any;
private getAttributesMap;
private loadExtendedDataResults;
}