QueryRequestParser Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.service.query.serializers.QueryRequestParser

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