execution Class
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.
Execution endpoints
executeAfm
                                            
                                                    - 
                                                                    projectId
- 
                                                                    execution
Execute AFM and fetch all data results
Parameters
- 
                                                                    projectIdString- GD project identifier
 
- 
                                                                    executionAFM.IExecution
Returns
Structure with executionResponse and executionResult -
                                            See https://github.com/gooddata/gooddata-typings/blob/v2.1.0/src/Execution.ts#L113
getData
                                            
                                                    - 
                                                                    projectId
- 
                                                                    columns
- 
                                                                    executionConfiguration
- 
                                                                    settings
For the given projectId it returns table structure with the given elements in column headers.
Parameters
- 
                                                                    projectIdString- GD project identifier
 
- 
                                                                    columnsArray- An array of attribute or metric identifiers.
 
- 
                                                                    executionConfigurationObject- 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'}]
 
- 
                                                                    settingsObject- Supports additional settings accepted by the underlying xhr.ajax() calls
 
Returns
Structure with headers and rawData keys filled with values from execution.
getExecutionResponse
                                            
                                                    - 
                                                                    projectId
- 
                                                                    execution
Execute AFM and return execution's response; the response describes dimensionality of the results and includes link to poll for the results.
Parameters
- 
                                                                    projectIdString- GD project identifier
 
- 
                                                                    executionAFM.IExecution
Returns
Promise with executionResponse
                                            See https://github.com/gooddata/gooddata-typings/blob/v2.1.0/src/Execution.ts#L69
getExecutionResult
                                            
                                                    - 
                                                                    executionResultUri
Get whole ExecutionResult
Parameters
- 
                                                                    executionResultUriString
Returns
Promise with executionResult or null (null means empty response - HTTP 204)
                                            See https://github.com/gooddata/gooddata-typings/blob/v2.1.0/src/Execution.ts#L88
getPartialExecutionResult
                                            
                                                    - 
                                                                    executionResultUri
- 
                                                                    limit
- 
                                                                    offset
Get one page of Result from Execution (with requested limit and offset)
Parameters
- 
                                                                    executionResultUriString
- 
                                                                    limitNumber- limit for each dimension
 
- 
                                                                    offsetNumber- offset for each dimension
 
Returns
Promise with executionResult or null (null means empty response - HTTP 204)
                                            See https://github.com/gooddata/gooddata-typings/blob/v2.1.0/src/Execution.ts#L88
 GoodData
            GoodData