|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PaginationContext
Contains information about the pagination process managed by a Paginator and made available to the user
through the NextInputHandler callback.
RemoteContext,
Paginator,
NextInputHandler,
UrlReaderProvider| Method Summary | |
|---|---|
Set<String> |
getFieldNames()
Returns the available field names available from the current Paginator implementation. |
File |
getNextPageFile()
Returns the local file which will contain the data of the next page to be visited, if reading from a remote location. |
com.univocity.parsers.common.record.Record |
getRecord()
Returns a Record with the values parsed from the input and associated with the given user provided fields
and request parameters of the Paginator. |
String |
readField(String fieldName)
Returns the value parsed from the input and associated with a user provided fields and request parameters of the Paginator. |
String[] |
readFields(String... fieldNames)
Returns the values parsed from the input and associated with the given user provided fields and request parameters of the Paginator. |
void |
stop()
Stops the pagination and prevents attempts to read more pages. |
| Methods inherited from interface com.univocity.parsers.remote.RemoteContext |
|---|
getCurrentPage, getCurrentPageNumber, getCurrentResponse, getNextPage, getNextPageNumber, getNextRequest, getPageCount, getRateLimiter, hasMorePages |
| Method Detail |
|---|
String readField(String fieldName)
Paginator.
fieldName - name of the user-provided field associated with the Paginator
String[] readFields(String... fieldNames)
Paginator.
fieldNames - names of the user-provided field associated with the Paginator. If empty
the values of all fields will be returned.
Set<String> getFieldNames()
Paginator implementation.
com.univocity.parsers.common.record.Record getRecord()
Record with the values parsed from the input and associated with the given user provided fields
and request parameters of the Paginator.
RecordFile getNextPageFile()
void stop()
stop in interface RemoteContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||