PrepartitionedPushTaskTInput, TOutput Class |
Namespace: Ookii.Jumbo.Jet
public abstract class PrepartitionedPushTask<TInput, TOutput> : Configurable, ITask<TInput, TOutput>
The PrepartitionedPushTaskTInput, TOutput type exposes the following members.
Name | Description | |
---|---|---|
PrepartitionedPushTaskTInput, TOutput | Initializes a new instance of the PrepartitionedPushTaskTInput, TOutput class |
Name | Description | |
---|---|---|
DfsConfiguration |
Gets or sets the configuration used to access the Distributed File System.
(Inherited from Configurable.) | |
JetConfiguration |
Gets or sets the configuration used to access the Jet servers.
(Inherited from Configurable.) | |
TaskContext |
Gets or sets the configuration for the task attempt.
(Inherited from Configurable.) |
Name | Description | |
---|---|---|
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.) | |
Finish |
Method called after the last record was processed.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyConfigurationChanged |
Indicates the configuration has been changed. ApplyConfiguration(Object, DfsConfiguration, JetConfiguration, TaskContext) calls this method
after setting the configuration.
(Inherited from Configurable.) | |
ProcessRecord |
Method called for each record in the task's input.
| |
Run |
Runs the task.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This task type is meant for use with receiving tasks of a pipeline channel with internal partitioning. It prevents the overhead of creating a TaskExecutionUtility and task instance for every partition.
If the task needs to know how many partitions there are it should check the InternalPartitionCount property of the StageConfiguration property.
Although tasks using this interface are free to change the partition a record belongs to, it cannot change the number of partitions. All output partition numbers must be between 0 inclusive and InternalPartitionCount exclusive.