public class JobQueryResponse extends Object
ScheduledJob objects returned from a query.| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
ScheduledJob |
next()
Return the next job from the query.
|
ScheduledJob |
next(QueryPageOptions pageOptions)
Return the next job from the query.
|
public boolean hasNext()
public ScheduledJob next() throws IotHubException, IOException, NoSuchElementException
IotHubException - If any IoT Hub level errors occur such as an IotHubUnauthorizedException.IOException - If any network level errors occur.NoSuchElementException - If there is no next ScheduledJob to return anymore.public ScheduledJob next(QueryPageOptions pageOptions) throws IotHubException, IOException, NoSuchElementException
pageOptions - the options for the next page of results if the next page is retrieved to fulfil this request
for the next job. May not be null.IotHubException - If any IoT Hub level errors occur such as an IotHubUnauthorizedException.IOException - If any network level errors occur.NoSuchElementException - If there is no next ScheduledJob to return anymore.Copyright © 2024. All rights reserved.