Click or drag to resize

SumTaskTKey Class

Task that computes the sum of the value of each key in the input data.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.JetConfigurable
    Ookii.Jumbo.JetPushTaskPairTKey, Int32, PairTKey, Int32
      Ookii.Jumbo.Jet.TasksAccumulatorTaskTKey, Int32
        Ookii.Jumbo.Jet.TasksSumTaskTKey

Namespace:  Ookii.Jumbo.Jet.Tasks
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public sealed class SumTask<TKey> : AccumulatorTask<TKey, int>
where TKey : Object, IComparable<TKey>

Type Parameters

TKey
The type of the key.

The SumTaskTKey type exposes the following members.

Constructors
  NameDescription
Public methodSumTaskTKey
Initializes a new instance of the SumTaskTKey class
Top
Properties
  NameDescription
Public propertyDfsConfiguration
Gets or sets the configuration used to access the Distributed File System.
(Inherited from Configurable.)
Public propertyJetConfiguration
Gets or sets the configuration used to access the Jet servers.
(Inherited from Configurable.)
Public propertyTaskContext
Gets or sets the configuration for the task attempt.
(Inherited from Configurable.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFinish
Method called after the last record was processed.
(Inherited from AccumulatorTaskTKey, TValue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNotifyConfigurationChanged
Indicates the configuration has been changed. ApplyConfiguration(Object, DfsConfiguration, JetConfiguration, TaskContext) calls this method after setting the configuration.
(Inherited from AccumulatorTaskTKey, TValue.)
Public methodProcessRecord
Method called for each record in the task's input.
(Inherited from AccumulatorTaskTKey, TValue.)
Public methodRun
Runs the task.
(Inherited from PushTaskTInput, TOutput.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Because this class has the AllowRecordReuseAttribute set, TKey must be either a value type or implement ICloneable.

See Also