RawTwinQuery 类

定义

public class RawTwinQuery
继承
java.lang.Object
RawTwinQuery

构造函数

RawTwinQuery(String connectionString)

Constructor to create instance from connection string

RawTwinQuery(String hostName, AzureSasCredential azureSasCredential)

Constructor to create instance from connection string

RawTwinQuery(String hostName, TokenCredential credential)

Constructor to create instance from connection string

方法

createFromConnectionString(String connectionString)

Static constructor to create instance from connection string

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>because this method declares a thrown IOException even though it never throws an IOException. Users are recommended to use <xref uid="com.microsoft.azure.sdk.iot.service.devicetwin.RawTwinQuery.RawTwinQuery(String)" data-throw-if-not-resolved="false" data-raw-source="RawTwinQuery(String)"></xref> instead since it does not declare this exception even though it constructs the same RawTwinQuery. </p>

</xrefdescription>

hasNext(Query query)

Returns the availability of next element in response. Sends the request again (if possible) to retrieve response until no response is found.

next(Query query)

Returns the next json element available in response

query(String sqlQuery)

Creates a query object for this query using default page size

query(String sqlQuery, Integer pageSize)

Creates a query object for this query

适用于