public interface ServiceQueryInterface<PageT>
Modifier and Type | Interface and Description |
---|---|
static interface |
ServiceQueryInterface.BuilderInterface<PageT,SortOrderT>
Builds an AWQL query.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext(PageT page)
Checks if there is still a page left to query.
|
ServiceQueryInterface<PageT> |
nextPage(PageT page)
Sets the LIMIT clause of the AWQL to the next page.
|
String |
toString() |
ServiceQueryInterface<PageT> nextPage(@Nullable PageT page)
page
is null, it will set not
change the index and stay at the current LIMIT clause.
This method is meant to be used with hasNext(Object)
. The
page
is necessary when using DataService, as its paging mechanism is different from
other services. For details, see
https://developers.google.com/adwords/api/docs/guides/bid-landscapes#paging_through_results.
page
- the page whose size will be used to increment the index in the LIMIT clauseboolean hasNext(@Nullable PageT page)
nextPage(Object)
.Copyright © 2018. All Rights Reserved.