DataFunction Class

Spotfire 14.3 API Reference
Represents an execution of a data function defined from a DataFunctionDefinition.
Inheritance Hierarchy

SystemObject
  Node
    Spotfire.Dxp.Framework.DocumentModelDocumentNode
      Spotfire.Dxp.Data.DataFunctionsDataFunction

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

C#
[SerializableAttribute]
[PersistenceVersionAttribute(6, 0)]
public sealed class DataFunction : DocumentNode

The DataFunction type exposes the following members.

Properties

  NameDescription
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyDataFunctionDefinition
Gets or sets the data function definition.
Public propertyInputs
Gets the inputs of the function.
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyName
Gets or sets the name of the function.
Public propertyNeedsRefresh
Gets a value indicating whether the data function needs to be refreshed.
Public propertyOutputs
Gets the outputs of the function.
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Public propertyUpdateBehavior
Gets or sets the update behavior.
Public propertyVisible
Gets or sets a value indicating whether the function is visible in the UI or not.
Top
Methods

  NameDescription
Public methodExecute
Asynchronously executes the data function.
Public methodExecute(DataFunctionCompletionCallback)
Asynchronously executes the data function with a callback when the execution has been finished. There is no guarantee regarding timing when the function will be executed and when it has finished executing.
Public methodExecuteSynchronously
Updates the function synchronously.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSynchronizeWithLibrary
Synchronize the function definition with the function definition stored in the library.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
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 class describes how inputs and outputs should be handled from the function.

Instances of this class are created in the DataFunctionCollection on the DataManager.

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