IDataSliceCollection
Home > @gooddata/sdk-ui > IDataSliceCollection
IDataSliceCollection interface
An iterable collection of data slices.
Signature:
export interface IDataSliceCollection extends Iterable<IDataSlice> 
Extends: Iterable<IDataSlice>
Remarks
The collection additionally includes basic information about the origin of the data slices that can be iterated - their number and attributes or totals that were used for slicing.
The slices are iterated in the order in which they appear in the underlying results; server side sorting specified at the execution time is thus reflected and honored during the iteration.
Properties
| Property | Modifiers | Type | Description | 
|---|---|---|---|
| 
 | number | Number of available data slices | |
| 
 | Array<IAttributeDescriptor | ITotal> | Descriptors of attributes and/or totals that were used to create data slices. | 
Methods
| Method | Description | 
|---|---|
| Returns all data slices in an array. |