This is the API exposed externally by DataCube to restrict access to certain internal components and functionalities.

interface DataCubeAPI {
    generateDataCubeQuery(): Promise<DataCubeQuery>;
    reload(): void;
    retryFailedDataFetches(): void;
}

Methods

  • Generates the data cube query (including the query, configuration, and source) from the latest state of the DataCube.

    Returns Promise<DataCubeQuery>

  • (Force) reload/rerender the DataCube component.

    This is often used when updating settings that requires a restart.

    Returns void

  • Retries all failed data fetches and rerender the grid.

    Returns void