Compares two specified column predicates and returns an integer that indicates their relative position in the sort order.

Namespace: Hypertable
Assembly: ht4n (in ht4n.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static int Compare(
	ColumnPredicate x,
	ColumnPredicate y
)
Public Shared Function Compare ( _
	x As ColumnPredicate, _
	y As ColumnPredicate _
) As Integer
public:
static int Compare(
	ColumnPredicate^ x, 
	ColumnPredicate^ y
)

Parameters

x
ColumnPredicate
The first column predicate to compare, or null.
y
ColumnPredicate
The second column predicate to compare, or null.

Return Value

Signed integer that indicates the relationship between the two comparands:
< 0if x is less than y
= 0if x equals y
> 0if x is greater than y

See Also