IExecutionFactory
Home > @gooddata/sdk-backend-spi > IExecutionFactory
IExecutionFactory interface
Execution factory provides several methods to create a prepared execution from different types of inputs.
Signature:
export interface IExecutionFactory
Remarks
Note: the execution factory WILL perform extensive input validation to ensure that the created instance of prepared execution is semantically correct.
Methods
Method | Description |
---|---|
forBuckets(buckets, filters) | Prepares a new execution for a list of buckets. |
forDefinition(def) | Prepares a new execution for the provided execution definition. |
forInsight(insightDefinition, filters) | Prepares a new execution for the provided insight. |
forInsightByRef(insight, filters) | Prepares new, by-reference execution for an existing insight. |
forItems(items, filters) | Prepares a new execution for a list of attributes and measures, filtered using the provided filters. |