Spotfire.Dxp.Data.Computations Namespace

Spotfire 14.3 API Reference
The Spotfire.Dxp.Data.Computations namespace contains classes and registries for extending DXP with new calculation methods.
Classes

  ClassDescription
Public classAggregationMethod
This class is used as the base class for aggregation methods.
Public classArgumentTypeList
Defines a list of argument types. This is used to define the type of a calculation method. The elements in the collection are the DataTypes of the column arguments to the calculation method.
Public classColumnMethodT
Base class for calculation methods which operates on columns.
Public classDataMethod
This class is the base class for all calculation methods.
Public classDataMethodCategory
This enumeration class is used to specify the category of a DataMethod.
Public classRowMethodT
Base class for calculation methods which operates on rows.
Public classSections
The DataMethods are grouped into sections (ex. Text, Math, etc.) when presented in the user interface. This class contains the predefined sections which methods can be part of.
Interfaces

  InterfaceDescription
Public interfaceIAccumulator
This is the interface that a CustomAggregationMethod implement to perform the actual calculation. The accumulator is created in a factory method on the CustomAggregationMethod class. Before the calculation starts the Initialize method is called and when the calculation is complete then the Terminate method is called terminate the calculation allowing the Result property to be used to retrieve the result.
Public interfaceIDependentAccumulator
Extension of the IAccumulator interface. This is the interface for accumulators that depend on the values from other accumulators to calculate the result.
Public interfaceIIterativeAccumulator
Extension of the IAccumulator interface for methods which are iterative.
Public interfaceIPublicMethod
Interface for method which should be shown in the UI.
Public interfaceISortedAccumulator
Extension of the IAccumulator interface. This is the interface for accumulators that depend on the sorted rows.