Can we turn this around and assume that writables will be given a stream and a length when they read? That would also let us remove redundant info...

On Jun 19, 2006, at 11:02 AM, Owen O'Malley wrote:


On Jun 19, 2006, at 10:46 AM, Paul Sutter wrote:

How can I define a comparator that can compare raw binary data? (our keys
are raw binary data)

Paul,
Look at what I did for BytesWritable (lines 147-165). You need to define a Comparator class and register it with WritableComparable.

-- Owen


Reply via email to