forDefinition()
Home > @gooddata/sdk-backend-spi > IExecutionFactory > forDefinition
IExecutionFactory.forDefinition() method
Prepares a new execution for the provided execution definition.
Signature:
forDefinition(def: IExecutionDefinition): IPreparedExecution;
Parameters
Parameter | Type | Description |
---|---|---|
def | IExecutionDefinition | execution definition |
Returns:
new prepared execution
Remarks
The contract is that the definition is taken and used in the prepared execution AS IS. Compared to the other convenience methods, this method MUST NOT create prepared executions with automatically generated dimensions.