| Constructor and Description |
|---|
HubspotPagesIterator(SourceHubspotConfig config) |
HubspotPagesIterator(SourceHubspotConfig config,
HubspotPage currentPage,
String currentPageOffset)
Constructor for HubspotPagesIterator object.
|
HubspotPagesIterator(SourceHubspotConfig config,
String offset) |
| Modifier and Type | Method and Description |
|---|---|
HubspotPage |
getCurrentPage() |
String |
getCurrentPageOffset() |
int |
getIteratorPosition() |
boolean |
hasNext() |
com.google.gson.JsonElement |
next() |
void |
setIteratorPosition(int iteratorPosition)
Here, just set the position of iteration.
|
void |
switchPageIfNeeded()
Here if require, it will be switched the page.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic HubspotPagesIterator(SourceHubspotConfig config, HubspotPage currentPage, String currentPageOffset)
config - the source hub spot configcurrentPage - the current pagecurrentPageOffset - the current page offsetpublic HubspotPagesIterator(SourceHubspotConfig config, String offset) throws IOException
IOExceptionpublic HubspotPagesIterator(SourceHubspotConfig config) throws IOException
IOExceptionpublic void switchPageIfNeeded()
throws IOException
IOException - on issues with data readingpublic boolean hasNext()
public com.google.gson.JsonElement next()
public String getCurrentPageOffset()
public int getIteratorPosition()
public HubspotPage getCurrentPage()
public void setIteratorPosition(int iteratorPosition)
iteratorPosition - the iterator positionCopyright © 2022. All rights reserved.