The Spotfire.Dxp.Data.Computations namespace contains classes and registries for extending DXP with new calculation methods.
Classes
Class | Description | |
---|---|---|
AggregationMethod |
This class is used as the base class for aggregation methods.
|
|
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.
|
|
ColumnMethod T |
Base class for calculation methods which operates on columns.
|
|
DataMethod |
This class is the base class for all calculation methods.
|
|
DataMethodCategory |
This enumeration class is used to specify the category of a
DataMethod.
|
|
RowMethod T |
Base class for calculation methods which operates on rows.
|
|
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 | |
---|---|---|
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.
|
|
IDependentAccumulator |
Extension of the IAccumulator interface.
This is the interface for accumulators that depend on the
values from other accumulators to calculate the result.
|
|
IIterativeAccumulator |
Extension of the IAccumulator
interface for methods which are iterative.
|
|
IPublicMethod |
Interface for method which should be shown in the UI.
|
|
ISortedAccumulator |
Extension of the IAccumulator interface.
This is the interface for accumulators that depend on the
sorted rows.
|