Aspose::Cells::Pivot::PivotCache class

PivotCache class

Represents the memory cache for some PivotTable reports.

class PivotCache

Methods

MethodDescription
virtual Dispose()Release all resource.
GetMissingItemsLimit()Gets and sets the number of unused items to allow before discarding unused items. This value MUST be greater than -2 and less than 1048577. PivotCacheMissingItemsLimitConst;.
GetPivotTables()Gets all pivot tables with this pivot cache.
virtual GetSourceType()Gets the PivotTableSourceType.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const PivotCache& src)operator=
PivotCache(PivotCache_Impl* impl)Constructs from an implementation object.
PivotCache(const PivotCache& src)Copy constructor.
Refresh(const PivotTableRefreshOption& option)Refreshes data from the data source and calculates data for the view of all pivottables which data source is this pivot cache.
Refresh()Refreshes data from the data source and calculates data for the view of all pivottables which data source is this pivot cache.
SetMissingItemsLimit(int32_t value)Gets and sets the number of unused items to allow before discarding unused items. This value MUST be greater than -2 and less than 1048577. PivotCacheMissingItemsLimitConst;.
~PivotCache()Destructor.

Fields

FieldDescription
_implThe implementation object.

Remarks

All data will be gathered into this cache,and the pivot table only get data from this cache,not directly access data source. If data source of some PivotTables are same, they will use a pivot cache.

See Also