JobQueryResponse Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. query. JobQueryResponse
- com.
public class JobQueryResponse
A pageable set of ScheduledJob objects returned from a query.
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | hasNext() |
Scheduled |
next()
Return the next job from the query. If the previous page of query results has been exhausted, then this method will make a request to the service to get the next page of results using the default paging options. |
Scheduled |
next(QueryPageOptions pageOptions)
Return the next job from the query. If the previous page of query results has been exhausted, then this method will make a request to the service to get the next page of results using the provided paging options. |
Method Details
hasNext
public boolean hasNext()
Returns:
next
public ScheduledJob next()
Return the next job from the query. If the previous page of query results has been exhausted, then this method will make a request to the service to get the next page of results using the default paging options.
Returns:
Throws:
next
public ScheduledJob next(QueryPageOptions pageOptions)
Return the next job from the query. If the previous page of query results has been exhausted, then this method will make a request to the service to get the next page of results using the provided paging options.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java