Action
    Preparing search index...

    This class describes operations performed on a Spotfire.Dxp.Data.DataTable. The SourceView consists of Spotfire.Dxp.Data.DataOperations.DataOperations and the columns returned by Spotfire.Dxp.Data.SourceView.AdditionalDataColumns.

    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 Spotfire.Dxp.Data.DataOperations.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.)

    2.0

    Hierarchy (View Summary)

    Index

    Methods

    • Casts this object to the specified type. Throws error on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns T1

    • Determines whether the specified object is equal to the current object.

      Parameters

      • obj: any

        The object to compare with the current object.

      Returns boolean

      true if the specified object is equal to the current object; otherwise, false.

    • Serves as the default hash function.

      Returns number

      A hash code for the current object.

    • Returns a string that represents the current object.

      Returns string

      A string that represents the current object.

    • Casts this object to the specified type. Returns null on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns null | T1

    • Determines whether the specified object instances are considered equal.

      Parameters

      • objA: any

        The first object to compare.

      • objB: any

        The second object to compare.

      Returns boolean

      true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

    Default capability

    • Checks whether it is possible to add columns after the specified operation.

      Parameters

      Returns boolean

      true if columns can be added after the operation; otherwise false.

      2.0

    • Checks whether it is possible to add rows after the specified operation.

      Parameters

      Returns boolean

      true if rows can be added after the operation; otherwise false.

      2.0

    • Checks whether it is possible to add transformations after the specified operation.

      Parameters

      • operation: DataOperation

        The operation to add transformations after.

      Returns boolean

      true if transformations can be added after the operation; otherwise false.

      2.0

    • Removes the specified Spotfire.Dxp.Data.DataOperations.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.

      Parameters

      Returns SourceView

      The resulting source view.

      The original source view object is not updated. Instead, a new source view object is returned from this method. Any further operations on the source view should be performed on this new instance.

      2.0