A class that serves as a worker for a VirtualColumnProducer.
Inheritance Hierarchy
Spotfire.Dxp.Framework.ThreadingWorker
Spotfire.Dxp.Framework.ThreadingWorkerTModel, VirtualValueRequest
Spotfire.Dxp.Data.VirtualColumnsVirtualValueWorkerTModel
Spotfire.Dxp.Application.ExtensionCustomVirtualValueWorkerTModel
Namespace: Spotfire.Dxp.Data.VirtualColumns
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
public abstract class VirtualValueWorker<TModel> : Worker<TModel, VirtualValueRequest> where TModel : VirtualColumnProducer
Type Parameters
- TModel
The VirtualValueWorkerTModel type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| MaxBatchSize | Gets or sets the maximum batch size.
The default value is 1.
(Inherited from Worker.) |
Methods
| Name | Description | |
|---|---|---|
| Cancel | Cancel the work item.
(Inherited from WorkerTModel, TItem.) | |
| CreateBatchPredicateCore | Override to customize how work items are selected for batch work.
The default implementation returns null, which selects all work items.
(Inherited from WorkerTModel, TItem.) | |
| Dispose | Override this method to clean up resources.
(Inherited from Worker.) | |
| DoBatchWorkCore | Override this method to handle a batch of work items at a time.
You must call ReturnItem for each work item in the batch.
The default implementation calls DoWorkCore(TModel, TItem) followed by ReturnItem for each work item.
(Inherited from WorkerTModel, TItem.) | |
| DoWorkCore | Override this method to handle a single work item at a time.
This method is called by DoBatchWorkCore.
The default implementation does nothing.
(Inherited from WorkerTModel, TItem.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetServiceTService |
Gets the service of the given type. This method provides access to
services on the analysis application level and upwards.
(Inherited from WorkerTModel, TItem.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Version Information
See Also