SqlQueryBuilder Class

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

public class SqlQueryBuilder

Method Summary

Modifier and Type Method and Description
String createSqlQuery(String selection, FromType fromType, String where, String groupby)

Creates a Sql style query for IotHub

Method Details

createSqlQuery

public static String createSqlQuery(String selection, FromType fromType, String where, String groupby)

Creates a Sql style query for IotHub

Parameters:

selection -

Select clause for query. Cannot benull 

</code> . </p>
fromType -

From enum for Query. Cannot benull 

</code> . </p>
where -

Where clause for Query. Can benull 

</code> . </p>
groupby -

GroupBy clause for query. Can benull 

</code></p>

Returns:

SqlQueryBuilder Object as specified by param

Applies to