readWindow()
Home > @gooddata/sdk-backend-spi > IExecutionResult > readWindow
IExecutionResult.readWindow() method
Asynchronously reads a window of data for this result.
Signature:
readWindow(offset: number[], size: number[]): Promise<IDataView>;
Parameters
Parameter | Type | Description |
---|---|---|
offset | number[] | coordinates where the window starts |
size | number[] | size of the window in each of the dimensions |
Returns:
Promise<IDataView>
Promise of data view
Remarks
The window is specified using offset array and size array. The offsets specify coordinates where the view starts and are zero-based. The sizes specify size of the window in each of the results dimension.