Database.getPreviousPageFromOffset()

Signature

getPreviousPageFromOffset(String cursorName, int startOffset, int pageSize)

Domain

action

Description

Gets the previous page from the database cursor, starting from the given offset

Parameters

NameTypeDescription
cursorNameStringThe name of the database cursor
startOffsetthestart offset for the page
pageSizeintThe number of concepts/records to be fetched from the database for each page, if pagesize is -1 then default pagesize given for the cursor is used, if cursor pagesize is also not specified, then a default value of 500 is used.

Returns

TypeDescription
Object[]The array of resultset data returned. The array is of resultConceptType if resultConceptURI is specified else it is in the form of n-tuple object array where each tuple is an array of the values of resultset data returned.

Cautions

none