public class SqlQuery extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlQuery.FromType
From clause for Query
|
| Modifier and Type | Method and Description |
|---|---|
static SqlQuery |
createSqlQuery(String selection,
SqlQuery.FromType fromType,
String where,
String groupby)
Creates a Sql style query for IotHub
|
String |
getQuery()
Getter for the String corresponding to Sql Query String created
|
public static SqlQuery createSqlQuery(String selection, SqlQuery.FromType fromType, String where, String groupby) throws IOException
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 nullIOException - If input parameter is invalidpublic String getQuery()
Copyright © 2022. All rights reserved.