Method Compare
Compare(AvroValue, AvroValue)
Compares two values of Schema.
public int Compare(AvroValue x, AvroValue y)
Parameters
Returns
- int
-1, 0 or 1, as
xsorts before, with or aftery.
Exceptions
- AvroException
A value does not match the schema, two maps are compared, or records are nested more than DefaultMaxDepth levels deep.