77 строки
3.3 KiB
YAML
77 строки
3.3 KiB
YAML
### YamlMime:JavaType
|
||
constructors:
|
||
- fullName: com.microsoft.azure.sdk.iot.provisioning.service.configs.QuerySpecification.QuerySpecification(String query)
|
||
name: QuerySpecification(String query)
|
||
nameWithType: QuerySpecification.QuerySpecification(String query)
|
||
parameters:
|
||
- description: >-
|
||
<p>the<code>String
|
||
|
||
</code> with the query. It cannot be<code>null
|
||
|
||
</code> , empty or a invalid query. </p>
|
||
name: query
|
||
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
||
exceptions:
|
||
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
|
||
description: <p>If the provided query is not a valid query. </p>
|
||
summary: >-
|
||
<p>CONSTRUCTOR</p>
|
||
|
||
<p>This constructor creates an instance of the query specification.</p>
|
||
|
||
<p>The <b>query</b> must follow the provisioning service <a href="https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-query-language">Query Language</a></p>
|
||
|
||
<p>When serialized, this class will look like the following example: <pre><code>{
|
||
|
||
"query":"SELECT * FROM enrollments",
|
||
|
||
}
|
||
|
||
</code></pre></p>
|
||
|
||
<p></p>
|
||
syntax: public QuerySpecification(String query)
|
||
uid: com.microsoft.azure.sdk.iot.provisioning.service.configs.QuerySpecification.QuerySpecification(String)
|
||
inheritances:
|
||
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
|
||
- <xref href="java.io.Serializable" data-throw-if-not-resolved="False"/>
|
||
- <xref href="com.microsoft.azure.sdk.iot.provisioning.service.configs.Serializable?alt=com.microsoft.azure.sdk.iot.provisioning.service.configs.Serializable&text=Serializable" data-throw-if-not-resolved="False"/>
|
||
inheritedMembers:
|
||
- com.microsoft.azure.sdk.iot.provisioning.service.configs.Serializable.toJson()
|
||
- com.microsoft.azure.sdk.iot.provisioning.service.configs.Serializable.toString()
|
||
methods:
|
||
- fullName: com.microsoft.azure.sdk.iot.provisioning.service.configs.QuerySpecification.toJsonElement()
|
||
name: toJsonElement()
|
||
nameWithType: QuerySpecification.toJsonElement()
|
||
returns:
|
||
description: >-
|
||
<p>The<code>JsonElement
|
||
|
||
</code> with the content of this class. </p>
|
||
type: <xref href="JsonElement?alt=JsonElement&text=JsonElement" data-throw-if-not-resolved="False"/>
|
||
summary: >-
|
||
<p>Serializer</p>
|
||
|
||
<p>Creates a<code>JsonElement
|
||
|
||
</code> , which the content represents the information in this class and its subclasses in a JSON format.</p>
|
||
|
||
<p>This is useful if the caller will integrate this JSON with jsons from other classes to generate a consolidated JSON. </p>
|
||
|
||
<p></p>
|
||
syntax: public JsonElement toJsonElement()
|
||
uid: com.microsoft.azure.sdk.iot.provisioning.service.configs.QuerySpecification.toJsonElement()
|
||
nameWithType: QuerySpecification
|
||
syntax: public class QuerySpecification extends Serializable
|
||
type: class
|
||
uid: com.microsoft.azure.sdk.iot.provisioning.service.configs.QuerySpecification
|
||
fullName: com.microsoft.azure.sdk.iot.provisioning.service.configs.QuerySpecification
|
||
name: QuerySpecification
|
||
package: com.microsoft.azure.sdk.iot.provisioning.service.configs
|
||
summary: >-
|
||
<p>Representation of a single Device Provisioning Service query specification with a JSON serializer.</p>
|
||
|
||
<p></p>
|
||
metadata: {}
|