Click or drag to resize

GenSortRecordComparePartialKeys Method

Compares two specified partial keys and returns an integer that indicates their relationship to one another in the sort order.

Namespace:  Ookii.Jumbo.Jet.Samples.IO
Assembly:  Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax
public static int ComparePartialKeys(
	byte[] left,
	byte[] right
)

Parameters

left
Type: SystemByte
The first key. The array must contain only the key, and no further data.
right
Type: SystemByte
The second key. The array must contain only the key, and no further data.

Return Value

Type: Int32
Zero if the keys are identical; less than zero if left is less than right; greater than zero if left is greater than right.
See Also