DataViewFacade
Home > @gooddata/sdk-ui > DataViewFacade
DataViewFacade class
Wrapper for IDataView.
Signature:
export declare class DataViewFacade
Remarks
This provides various convenience methods to work with data and metadata stored inside the provided instance of IDataView.
The facade keeps an ephemeral state - such as calculated indexes on top of the headers in the IDataView - to optimize performance of often-used lookups at the cost of extra memory.
The facade is part of the public API and we strongly recommend to use it whenever client code needs to work with data view; ideally, single instance of data view facade
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(dataView) | Constructs a new instance of the DataViewFacade class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
dataView | IDataView | ||
definition | IExecutionDefinition |
Methods
Method | Modifiers | Description |
---|---|---|
data(config) | ||
fingerprint() | ||
for(dataView) | static | |
forResult(result) | static | Creates a DataViewFacade with provided execution result. |
result() | ||
warnings() |