public class TextPartiallyRawComparator extends Object implements PartiallyRawComparator<Text>, org.apache.ignite.internal.processors.hadoop.io.PartiallyOffheapRawComparatorEx<Text>
Text data type.
Implementation is borrowed from org.apache.hadoop.io.FastByteComparisons and adopted to Ignite
infrastructure.
public int compare(Text val1, RawMemory val2Buf)
compare in interface PartiallyRawComparator<Text>val1 - First value (deserialized).val2Buf - Second value (serialized).public int compare(Text val1, long val2Ptr, int val2Len)
compare in interface org.apache.ignite.internal.processors.hadoop.io.PartiallyOffheapRawComparatorEx<Text>val1 - First value.val2Ptr - Pointer to the second value data.val2Len - Length of the second value data.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.12 Release Date : October 2 2017