public class RawQueryResponse extends Object
| Constructor and Description |
|---|
RawQueryResponse(String json,
QueryClient queryClient,
String originalQuery) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
String |
next()
Return the next json object from the query.
|
String |
next(QueryPageOptions pageOptions)
Return the next json object from the query.
|
public RawQueryResponse(String json, QueryClient queryClient, String originalQuery)
public boolean hasNext()
public String 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 object to return anymore.public String next(QueryPageOptions pageOptions) throws IotHubException, IOException
pageOptions - the options for the next page of results if the next page is retrieved to fulfil this request
for the next json object. 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 object to return anymore.Copyright © 2024. All rights reserved.