QueryRequestParser Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. query. serializers. QueryRequestParser
- com.
public class QueryRequestParser
Constructor Summary
Constructor | Description |
---|---|
QueryRequestParser(String query) |
CONSTRUCTOR Create an instance of the QueryRequestParser based on the provided query. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
toJson()
Convert this class in a valid json. |
Constructor Details
QueryRequestParser
public QueryRequestParser(String query)
CONSTRUCTOR Create an instance of the QueryRequestParser based on the provided query.
Parameters:
query
- is the name of the blob (file name in the blob)
Throws:
IllegalArgumentException
- if the query is null, empty, or not valid.
Method Details
toJson
public String toJson()
Convert this class in a valid json.
Returns:
a valid json that represents the content of this class.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java