SqlQueryBuilder Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. query. SqlQueryBuilder
- com.
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
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