Package org.apache.druid.query.http
Class ClientSqlQuery
- java.lang.Object
-
- org.apache.druid.query.http.ClientSqlQuery
-
public class ClientSqlQuery extends Object
Client representation oforg.apache.druid.sql.http.SqlQuery. This is effectively a lightweight POJO class for use by clients such asorg.apache.druid.client.broker.BrokerClientthat doesn't bring in any of the Calcite dependencies and server-side logic from the Broker.
-
-
Constructor Summary
Constructors Constructor Description ClientSqlQuery(String query, String resultFormat, boolean header, boolean typesHeader, boolean sqlTypesHeader, Map<String,Object> context, List<ClientSqlParameter> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,Object>getContext()List<ClientSqlParameter>getParameters()StringgetQuery()StringgetResultFormat()inthashCode()booleanisHeader()booleanisSqlTypesHeader()booleanisTypesHeader()StringtoString()
-
-
-
Method Detail
-
getQuery
public String getQuery()
-
getResultFormat
public String getResultFormat()
-
isHeader
public boolean isHeader()
-
isTypesHeader
public boolean isTypesHeader()
-
isSqlTypesHeader
public boolean isSqlTypesHeader()
-
getParameters
public List<ClientSqlParameter> getParameters()
-
-