SourceView Class

Spotfire 14.3 API Reference
This class describes operations performed on a DataTable. The SourceView consists of DataOperations and the columns returned by AdditionalDataColumns.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.DataSourceView

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public sealed class SourceView

The SourceView type exposes the following members.

Properties

  NameDescription
Public propertyAdditionalDataColumns
Gets the additional DataColumns added to the final data table after LastOperation.
Public propertyLastOperation
Gets the last DataOperation that has been performed on the data table.
Public propertyOperationsSupportingTransformations
Gets all DataOperations that can have DataTransformations, using the utility class DataOperationSupportingTransformations.
Top
Methods

  NameDescription
Public methodAddColumnsAfter
Adds columns after the specified operation.
Public methodAddRowsAfter
Adds rows after the specified operation.
Public methodAddTransformationAfter
Adds a transformation after the specified operation.
Public methodAddTransformationsAfter
Adds transformations after the specified operation.
Public methodCanAddColumnsAfter
Checks whether it is possible to add columns after the specified operation.
Public methodCanAddRowsAfter
Checks whether it is possible to add rows after the specified operation.
Public methodCanAddTransformationsAfter
Checks whether it is possible to add transformations after the specified operation.
Public methodCanRemoveOperation
Checks whether the specified DataOperation can be removed.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetAllOperationsT
Gets all DataOperations of a certain type.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemoveOperation
Removes the specified DataOperation. As a side effect, other operations may be removed as well, e.g., an add rows operation will implicitly be removed when removing either of its source inputs.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The content of the SourceView is only valid as long as the data table structure is not modified, i.e. as long as the set of DataOperations is the same, otherwise the behavior is undefined. Examples of invalidating modifications include adding rows/columns or transformations to the data table, removing operations, as well as e.g. freezing calculated columns. If such modifications have been made, and further operations are to be done on a source view instance, then a new instance must be generated for the data table. (Some methods return such a new instance directly, for convenience.)
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference