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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java