HashPartitionerT Class |
Namespace: Ookii.Jumbo.Jet
The HashPartitionerT type exposes the following members.
Name | Description | |
---|---|---|
HashPartitionerT | Initializes a new instance of the HashPartitionerT 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.) | |
Partitions |
Gets or sets the number of partitions.
| |
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPartition |
Gets the partition for the specified value.
| |
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.
(Overrides ConfigurableNotifyConfigurationChanged.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
You can customize the behaviour of the HashPartitionerT by specifying a custom IEqualityComparerT. To do this, specify the type name of the custom comparer in the StageSettings of the stage that produces the records to be partitioned using the EqualityComparerSetting key.
If you don't specify a comparer, Default will be used.