SqlQuery Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. devicetwin. SqlQuery
- com.
public class SqlQuery
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sql |
createSqlQuery(String selection, SqlQuery.FromType fromType, String where, String groupby)
Creates a Sql style query for Iot |
java.lang.String |
getQuery()
Getter for the String corresponding to Sql Query String created |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Method Details
createSqlQuery
public static SqlQuery createSqlQuery(String selection, SqlQuery.FromType fromType, String where, String groupby)
Creates a Sql style query for IotHub
Parameters:
selection
- Select clause for query. Cannot be
null
.
fromType
- From enum for Query. Cannot be
null
.
where
- Where clause for Query. Can be
null
.
groupby
- GroupBy clause for query. Can be
null
Returns:
SqlQuery Object as specified by param
Throws:
java.io.IOException
- If input parameter is invalid
getQuery
public String getQuery()
Getter for the String corresponding to Sql Query String created
Returns:
String corresponding to Sql Query created
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java