 | HashPartitionerTGetPartition Method |
Gets the partition for the specified value.
Namespace:
Ookii.Jumbo.Jet
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntaxpublic int GetPartition(
T value
)
Public Function GetPartition (
value As T
) As Integer
public:
virtual int GetPartition(
T value
) sealed
abstract GetPartition :
value : 'T -> int
override GetPartition :
value : 'T -> int
Parameters
- value
- Type: T
The value to be partitioned.
Return Value
Type:
Int32The partition number for the specified value.
Implements
IPartitionerTGetPartition(T)
See Also