Interesting. This is actually logically 1 put I am trying to do, perhaps I should just generate qualifier keys and store the values.
On Tue, Jun 22, 2010 at 2:45 PM, Ryan Rawson <[email protected]> wrote: > This is a little tricky... since versioning is timestamp millisecond, > it would seem that you'd have to keep your puts apart by 1 ms if you > want to have them with distinct version ids (timestamps). You could > manually set timestamps, and end up using 1 Put object but 1000 calls > to: > Put put = new Put(row); > // Call this 1000 times: > for ( byte [] value : bigListThing ) { > put.add(family, qualifier, timestamp, value); > } > > something like that. > > -ryan > > On Tue, Jun 22, 2010 at 12:42 PM, N Kapshoo <[email protected]> wrote: >> If I want to store say a 1000 users associated with a doc using >> versioning, do I have to do thousands of Put operations? >> >> p3.add(FAMILY, Bytes.toBytes(USER), Bytes.toBytes(id)); >> >> Thanks. >> >
