public class SetCurrentCallable extends java.lang.Object implements SQLCallable<java.lang.Void>
Set the current
field in the revs table to true or false.
The current
field is used to track the "current" or "winning" revision in the
case of conflicted document trees. This is updated according to the standard couch
algorithm.
Constructor and Description |
---|
SetCurrentCallable(long sequence,
boolean valueOfCurrent) |
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
call(SQLDatabase db) |
public SetCurrentCallable(long sequence, boolean valueOfCurrent)
sequence
- Sequence number of revisionvalueOfCurrent
- New value of current
(true/false)PickWinningRevisionCallable
public java.lang.Void call(SQLDatabase db) throws DatastoreException
call
in interface SQLCallable<java.lang.Void>
DatastoreException