Click or drag to resize

AccumulatorTaskTKey, TValue Class

Base class for tasks that accumulate values associated with a specific key.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.JetConfigurable
    Ookii.Jumbo.JetPushTaskPairTKey, TValue, PairTKey, TValue
      Ookii.Jumbo.Jet.TasksAccumulatorTaskTKey, TValue
        Ookii.Jumbo.Jet.TasksSumTaskTKey

Namespace:  Ookii.Jumbo.Jet.Tasks
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public abstract class AccumulatorTask<TKey, TValue> : PushTask<Pair<TKey, TValue>, Pair<TKey, TValue>>
where TKey : Object, IComparable<TKey>

Type Parameters

TKey
The type of the keys.
TValue
The type of the values.

The AccumulatorTaskTKey, TValue type exposes the following members.

Constructors
  NameDescription
Protected methodAccumulatorTaskTKey, TValue
Initializes a new instance of the AccumulatorTaskTKey, TValue 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
Protected methodAccumulate
When implemented in a derived class, accumulates the values of the records.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFinish
Method called after the last record was processed.
(Overrides PushTaskTInput, TOutputFinish(RecordWriterTOutput).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNotifyConfigurationChanged
Indicates the configuration has been changed. ApplyConfiguration(Object, DfsConfiguration, JetConfiguration, TaskContext) calls this method after setting the configuration.
(Overrides ConfigurableNotifyConfigurationChanged.)
Public methodProcessRecord
Method called for each record in the task's input.
(Overrides PushTaskTInput, TOutputProcessRecord(TInput, RecordWriterTOutput).)
Public methodRun
Runs the task.
(Inherited from PushTaskTInput, TOutput.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
See Also