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: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
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 methodSumTaskTKeyInitializes 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 methodEqualsDetermines 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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets 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 methodToStringReturns 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