accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dylan Hutchison <dhutc...@cs.washington.edu>
Subject Re: Count RowIDs with a common Prefix
Date Tue, 18 Oct 2016 07:27:25 GMT
Write an iterator to compute partial sums. Make sure the iterator does not
return a key outside if the range to which it was seeked. (You don't have
to modify the keys you return; just sum the keys below the first one for
each key prefix into the first one.)

Collect the partial sums at the client from the batch scan. Compute full
sums at the client.

On Oct 17, 2016 11:02 PM, "Yamini Joshi" <yamini.1691@gmail.com> wrote:

> Hello all
>
> My keys are of the form rowID:otherID where there are multiple otherIDs
> for a RowID. I want to know the count of all the otherIDs within a rowID.
> What would be the most optimal way to implement this?
>
> Best regards,
> Yamini Joshi
>

Mime
View raw message