Your aim is reuse the same scanner for multiple scans?

seek(byte[] row) is equivalent to a new scan with startRow set to row.
seekToFirst() is equivalent to a new scan.

When would you use seekToLast() and prev()?


Would you envision to be a client side API, or just internal (for CoProcessors)?
Server side this should not be too hard to do. Client side it seems somewhat 
pointless as it wouldn't reduce the number of roundtrips.
(But I might not understand fully what you want to achieve).


If you like to file a jira... Could you explain your usecases there?

Thanks.


-- Lars



________________________________
 From: Vladimir Rodionov <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Thursday, December 22, 2011 10:01 PM
Subject: Extend ResultScanner API (and InternalScanner)
 
This is suggestion and request at the same time:

It would be nice to have the following methods:

seek(byte[] row)
seekToLast()
seekToFirst()

and

prev()

I am pretty sure its doable.

The reason is obvious: we can do much faster large number of short scans if we 
have this API.

Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com
e-mail: [email protected]


Confidentiality Notice:  The information contained in this message, including 
any attachments hereto, may be confidential and is intended to be read only by 
the individual or entity to whom this message is addressed. If the reader of 
this message is not the intended recipient or an agent or designee of the 
intended recipient, please note that any review, use, disclosure or 
distribution of this message or its attachments, in any form, is strictly 
prohibited.  If you have received this message in error, please immediately 
notify the sender and/or [email protected] and delete or destroy any 
copy of this message and its attachments.

Reply via email to