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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java