PersistentDataView Class

Spotfire 14.3 API Reference
This is a wrapper class around a DataView which performs the code for serializing the DataView since a data view is not possible to persist.
Inheritance Hierarchy

SystemObject
  Node
    Spotfire.Dxp.Framework.DocumentModelDocumentNode
      Spotfire.Dxp.DataPersistentDataView

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

C#
[SerializableAttribute]
[PersistenceVersionAttribute(13, 0)]
public sealed class PersistentDataView : DocumentNode

The PersistentDataView type exposes the following members.

Constructors

  NameDescription
Public methodPersistentDataView
Initializes a new instance of the PersistentDataView class. Create a new persistent data view. This is a wrapper class around a DataView which performs the creation of the view and the serialization.
Top
Properties

  NameDescription
Public propertyBaseSelectionReference
Gets or sets the selection that this view is based on. This selection defines which rows of the base table should be included when calculating the values. May be null.
Public propertyBaseTableReference
Gets or sets the table that the view is based on.
Public propertyColumnExpressions
Gets or sets the column expressions. This is the same expression syntax as calculated columns. See the ColumnExpression class for utility methods in handling expressions.
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyDataView
Gets the data view that is calculated from the other parameters.
Public propertyGroupByColumns
Gets or sets columns which are grouped by. The list may be empty. The columns has to be part of the baseTable/>.
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyMarkingCombinationMethod
Gets or sets a value indicating how the data marking selections shall be combined to limit the data show by the visualization.
Public propertyName
Gets or sets the name of the view.
Public propertySortBy
Gets or sets a list of column aliases combined with sort order to sort by. The column aliases has to match aliases of the ColumnExpressions in this view. The list may not be null, and is not mutable so you cannot modify the returned list. If no sort by configuration is provided the view will be sorted by the group by columns.
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Top
Methods

  NameDescription
Public methodGetAdditionalSelections
Gets the additional selections that define which rows of the base table should be included when calculating the values. These selections are used in combination with the BaseSelectionReference.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetAdditionalSelections
Sets the additional selections that define which rows of the base table should be included when calculating the values. These selections are used in combination with the BaseSelectionReference.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodINodeContextGetAncestorT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextGetServiceT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextIsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsBeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
Remarks

This is the only way to create a DataView and should be used even if the view does not need to be persisted. If a real persistence of the view is not needed then the persistent data view may be set to null after the DataView has been used.
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