本文整理了Java中com.microsoft.azure.sdk.iot.provisioning.service.Query.hasNext
方法的一些代码示例,展示了Query.hasNext
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.hasNext
方法的具体详情如下:
包路径:com.microsoft.azure.sdk.iot.provisioning.service.Query
类名称:Query
方法名:hasNext
[英]Getter for hasNext.
It will return true if the query is not finished in the Device Provisioning Service, and another iteration with #next() may return more items. Call #next() after receive a hasNext true will result in a QueryResult that can or cannot contains elements. And call #next() after receive a hasNext false will result in a exception.
[中]hasNext的Getter。
如果查询没有在设备配置服务中完成,它将返回true,使用#next()的另一次迭代可能会返回更多项。在收到hasNext true后调用#next()将导致QueryResult,该结果可以包含元素,也可以不包含元素。并在收到hasNext false后调用#next()将导致异常。
代码示例来源:origin: Azure/azure-iot-sdk-java
Query query = provisioningServiceClient.createIndividualEnrollmentQuery(querySpecification, QUERY_PAGE_SIZE);
while(query.hasNext())
代码示例来源:origin: Azure/azure-iot-sdk-java
Query query = provisioningServiceClient.createEnrollmentGroupQuery(querySpecification);
while(query.hasNext())
代码示例来源:origin: Azure/azure-iot-sdk-java
Query query = provisioningServiceClient.createIndividualEnrollmentQuery(querySpecification);
while(query.hasNext())
内容来源于网络,如有侵权,请联系作者删除!