I think there may be more than one delete per edit.
On Tue, Mar 15, 2011 at 2:45 PM, Jason Rutherglen < [email protected]> wrote: > Ted, thanks for the info. > > > Please note that WALEdit parameter for postWALRestore() contains the > > collection of edits (KeyValue objects) > > Is the collection of edit limited to a single row? Can there be > multiple deletes per edit? > > On Tue, Mar 15, 2011 at 1:38 PM, Ted Yu <[email protected]> wrote: > > Jason: > > There're 3 types of deletes: > > Delete((byte)8), > > DeleteColumn((byte)12), > > DeleteFamily((byte)14), > > You can choose the corresponding KeyValue method > > > > Please note that WALEdit parameter for postWALRestore() contains the > > collection of edits (KeyValue objects) > > > > On Tue, Mar 15, 2011 at 12:19 PM, Jason Rutherglen < > > [email protected]> wrote: > > > >> How does one know if a postWALRestore is a delete? There's a set of > >> methods KeyValue.isDelete*. Should one use these? For a single > >> postWALRestore method call, is there only one delete (rather than an a > >> batch delete, add, etc)? > >> > > >
