public final class ServiceQuery extends Object implements ServiceQueryInterface<com.google.api.ads.adwords.jaxws.v201802.cm.Page>
Modifier and Type | Class and Description |
---|---|
static class |
ServiceQuery.Builder
Builds a
ServiceQuery object. |
ServiceQueryInterface.BuilderInterface<PageT,SortOrderT>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
hasNext(com.google.api.ads.adwords.jaxws.v201802.cm.AdGroupBidLandscapePage page)
Checks if there is still an ad group bid landscape page left to query.
|
boolean |
hasNext(com.google.api.ads.adwords.jaxws.v201802.cm.CriterionBidLandscapePage page)
Checks if there is still an criterion bid landscape page left to query.
|
boolean |
hasNext(com.google.api.ads.adwords.jaxws.v201802.cm.Page page)
Checks if there is still a page left to query.
|
ServiceQuery |
nextPage(com.google.api.ads.adwords.jaxws.v201802.cm.AdGroupBidLandscapePage page)
Sets the LIMIT clause of the AWQL to the next page calculated by using the total number of
landscape points in
AdGroupBidLandscapePage . |
ServiceQuery |
nextPage(com.google.api.ads.adwords.jaxws.v201802.cm.CriterionBidLandscapePage page)
Sets the LIMIT clause of the AWQL to the next page calculated by using the total number of
landscape points in
CriterionBidLandscapePage . |
ServiceQuery |
nextPage(com.google.api.ads.adwords.jaxws.v201802.cm.Page page)
Sets the LIMIT clause of the AWQL to the next page.
|
String |
toString() |
public ServiceQuery nextPage(@Nullable com.google.api.ads.adwords.jaxws.v201802.cm.Page page)
ServiceQueryInterface
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 ServiceQueryInterface.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.
nextPage
in interface ServiceQueryInterface<com.google.api.ads.adwords.jaxws.v201802.cm.Page>
page
- the page whose size will be used to increment the index in the LIMIT clausepublic ServiceQuery nextPage(@Nullable com.google.api.ads.adwords.jaxws.v201802.cm.AdGroupBidLandscapePage page)
AdGroupBidLandscapePage
. If page
is null, this will not
change the LIMIT clause.
This method is meant to be used with hasNext()
. 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 ad group bid landscape page whose total number of landscape points will be
used to increment the index in the LIMIT clausepublic ServiceQuery nextPage(@Nullable com.google.api.ads.adwords.jaxws.v201802.cm.CriterionBidLandscapePage page)
CriterionBidLandscapePage
. If page
is null, this will not
change the LIMIT clause.
This method is meant to be used with hasNext()
. 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 criterion bid landscape page whose total number of landscape points will be
used to increment the index in the LIMIT clausepublic boolean hasNext(@Nullable com.google.api.ads.adwords.jaxws.v201802.cm.Page page)
ServiceQueryInterface
ServiceQueryInterface.nextPage(Object)
.hasNext
in interface ServiceQueryInterface<com.google.api.ads.adwords.jaxws.v201802.cm.Page>
public boolean hasNext(@Nullable com.google.api.ads.adwords.jaxws.v201802.cm.AdGroupBidLandscapePage page)
This method is meant to be used with nextPage(AdGroupBidLandscapePage)
.
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 ad group bid landscape page whose total number of landscape points will be used
to determine if there is still a page leftpublic boolean hasNext(@Nullable com.google.api.ads.adwords.jaxws.v201802.cm.CriterionBidLandscapePage page)
This method is meant to be used with nextPage(CriterionBidLandscapePage)
. 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 criterion bid landscape page whose total number of landscape points will be
used to determine if there is still a page leftpublic String toString()
toString
in interface ServiceQueryInterface<com.google.api.ads.adwords.jaxws.v201802.cm.Page>
toString
in class Object
Copyright © 2018. All Rights Reserved.