![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.quickbi_public20220101.models.QueryDataServiceResponseBody Maven / Gradle / Ivy
Show all versions of quickbi_public20220101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.quickbi_public20220101.models;
import com.aliyun.tea.*;
public class QueryDataServiceResponseBody extends TeaModel {
/**
* The list of parameter names of the returned parameters. The value is a string of the List type.
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request is successful. Valid values:
*
* * true: The request was successful.
* * false: The request failed.
*/
@NameInMap("Result")
public QueryDataServiceResponseBodyResult result;
/**
* { "area": \["East China", "North China"], "shopping_date": "2019Q1", }
*/
@NameInMap("Success")
public Boolean success;
public static QueryDataServiceResponseBody build(java.util.Map map) throws Exception {
QueryDataServiceResponseBody self = new QueryDataServiceResponseBody();
return TeaModel.build(map, self);
}
public QueryDataServiceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public QueryDataServiceResponseBody setResult(QueryDataServiceResponseBodyResult result) {
this.result = result;
return this;
}
public QueryDataServiceResponseBodyResult getResult() {
return this.result;
}
public QueryDataServiceResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class QueryDataServiceResponseBodyResultHeaders extends TeaModel {
/**
* The field name, which corresponds to the physical table field name.
*/
@NameInMap("Aggregator")
public String aggregator;
/**
* The granularity of the dimension field. This field is returned only when the requested field is a date dimension or a geographical dimension. Valid values:
*
* * Date granularity: yearRegion (year), monthRegion (month), weekRegion (week), dayRegion (day), hourRegion (hour), minRegion (minute), secRegion (second)
* * Geographic information granularity: COUNTRY (international level), PROVINCE (provincial level), CITY (municipal level), XIAN (district /county), and REGION (regional level)
*/
@NameInMap("Column")
public String column;
/**
* The column header.
*/
@NameInMap("DataType")
public String dataType;
/**
* The field type, which is used to distinguish whether the field type is a dimension or a measure.
*/
@NameInMap("Granularity")
public String granularity;
/**
* The data type of the field. generally have number, string, date, datetime, time, and geographic.
*/
@NameInMap("Label")
public String label;
/**
* SELECT COMPANY_T\_1\_.\"area\" AS D_AREA\_2\_, COMPANY_T\_1\_.\"city\" AS D_CITY\_3\_, SUM(COMPANY_T\_1\_.\"profit_amt\") AS D_PROFIT\_4\_ FROM \"quickbi_test\".\"company_sales_record_copy\" AS COMPANY_T\_1\_ WHERE COMPANY_T\_1\_.\"area\" LIKE \"% China East %\" GROUP BY COMPANY_T\_1\_.\"area\", COMPANY_T\_1\_.\"city\" HAVING SUM(COMPANY_T\_1\_.\"order_amt\") > 1 LIMIT 0,10
*/
@NameInMap("Type")
public String type;
public static QueryDataServiceResponseBodyResultHeaders build(java.util.Map map) throws Exception {
QueryDataServiceResponseBodyResultHeaders self = new QueryDataServiceResponseBodyResultHeaders();
return TeaModel.build(map, self);
}
public QueryDataServiceResponseBodyResultHeaders setAggregator(String aggregator) {
this.aggregator = aggregator;
return this;
}
public String getAggregator() {
return this.aggregator;
}
public QueryDataServiceResponseBodyResultHeaders setColumn(String column) {
this.column = column;
return this;
}
public String getColumn() {
return this.column;
}
public QueryDataServiceResponseBodyResultHeaders setDataType(String dataType) {
this.dataType = dataType;
return this;
}
public String getDataType() {
return this.dataType;
}
public QueryDataServiceResponseBodyResultHeaders setGranularity(String granularity) {
this.granularity = granularity;
return this;
}
public String getGranularity() {
return this.granularity;
}
public QueryDataServiceResponseBodyResultHeaders setLabel(String label) {
this.label = label;
return this;
}
public String getLabel() {
return this.label;
}
public QueryDataServiceResponseBodyResultHeaders setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class QueryDataServiceResponseBodyResult extends TeaModel {
/**
* The SQL of the request query.
*/
@NameInMap("Headers")
public java.util.List headers;
/**
* The ID of the request.
*/
@NameInMap("Sql")
public String sql;
/**
* Physical Field Name
*/
@NameInMap("Values")
public java.util.List> values;
public static QueryDataServiceResponseBodyResult build(java.util.Map map) throws Exception {
QueryDataServiceResponseBodyResult self = new QueryDataServiceResponseBodyResult();
return TeaModel.build(map, self);
}
public QueryDataServiceResponseBodyResult setHeaders(java.util.List headers) {
this.headers = headers;
return this;
}
public java.util.List getHeaders() {
return this.headers;
}
public QueryDataServiceResponseBodyResult setSql(String sql) {
this.sql = sql;
return this;
}
public String getSql() {
return this.sql;
}
public QueryDataServiceResponseBodyResult setValues(java.util.List> values) {
this.values = values;
return this;
}
public java.util.List> getValues() {
return this.values;
}
}
}