FixedPivotData Class

NReco.PivotData Class Library Documentation
Fixed-size implementation of IPivotData that provides memory-efficient, thread-safe, read-only access to the PivotDataState.
Inheritance Hierarchy

SystemObject
  NReco.PivotDataFixedPivotData

Namespace:  NReco.PivotData
Assembly:  NReco.PivotData.Extensions (in NReco.PivotData.Extensions.dll) Version: 1.6.1
Syntax

public class FixedPivotData : IPivotData, 
	IEnumerable<KeyValuePair<Object[], IAggregator>>, IEnumerable

The FixedPivotData type exposes the following members.

Constructors

  NameDescription
Public methodFixedPivotData
Initializes a new instance of the FixedPivotData with specified configuration and data from PivotDataState.
Top
Properties

  NameDescription
Public propertyAggregatorFactory
Public propertyCount
Public propertyDimensions
Public propertyItem
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode (Inherited from Object.)
Public methodGetState
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Remarks

FixedPivotData was specially designed for querying large cubes with minimal memory consuption / initialization time. Typical slicing operation that iterates through all cube values with GetEnumerator is performed with minimal possible memory usage and almost fast as PivotData. On the first indexer access dictionary-based indexes are initialized (this may take some time) and after that individual values are also returned fast.
See Also

Reference