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

  Class Description
Public class AggregationMethod
This class is used as the base class for aggregation methods.
Public class ArgumentTypeList
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 class ColumnMethodT
Base class for calculation methods which operates on columns.
Public class DataMethod
This class is the base class for all calculation methods.
Public class DataMethodCategory
This enumeration class is used to specify the category of a DataMethod.
Public class RowMethodT
Base class for calculation methods which operates on rows.
Public class Sections
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

  Interface Description
Public interface IAccumulator
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 interface IDependentAccumulator
Extension of the IAccumulator interface. This is the interface for accumulators that depend on the values from other accumulators to calculate the result.
Public interface IIterativeAccumulator
Extension of the IAccumulator interface for methods which are iterative.
Public interface IPublicMethod
Interface for method which should be shown in the UI.
Public interface ISortedAccumulator
Extension of the IAccumulator interface. This is the interface for accumulators that depend on the sorted rows.