public class GetSequenceCallable extends java.lang.Object implements SQLCallable<java.lang.Long>
Constructor and Description |
---|
GetSequenceCallable(java.lang.String id,
java.lang.String rev) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
call(SQLDatabase db) |
public GetSequenceCallable(java.lang.String id, java.lang.String rev)
id
- Document ID of the revision to fetch the sequence forrev
- Revision ID of the revision to fetch the sequence forpublic java.lang.Long call(SQLDatabase db) throws DatastoreException
call
in interface SQLCallable<java.lang.Long>
DatastoreException