public class DatabaseCursor extends Object
| Constructor and Description |
|---|
DatabaseCursor(int total,
int offset,
int limit)
DatabaseCursor constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLimit() |
int |
getOffset() |
int |
getTotal() |
DatabaseCursor |
setLimit(int limit) |
DatabaseCursor |
setOffset(int offset) |
DatabaseCursor |
setTotal(int total) |
public DatabaseCursor(int total,
int offset,
int limit)
total - total of units inserted/modifiedoffset - the offset of unit in databaselimit - number limit of unit per responsepublic int getTotal()
public DatabaseCursor setTotal(int total)
total - of units as integerpublic int getOffset()
public DatabaseCursor setOffset(int offset)
offset - the offset of units in databasepublic int getLimit()
public DatabaseCursor setLimit(int limit)
limit - limit of units as integerCopyright © 2018 Vitam. All rights reserved.