QueryGroupByExpression 查询分组
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface QueryGroupByExpression {
"concept": "QueryGroupByExpression", // 产品概念
"groupElement": LogicItem, // 逻辑项,groupElement 可能是 QueryFieldExpression / Identifier
}
class QueryGroupByExpressionTreeNode {
ConceptEnum concept; // 产品概念
LogicItemTreeNode groupElement; // 逻辑项,groupElement 可能是 QueryFieldExpression / Identifier
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/QueryGroupByExpression",
"definitions": {
"QueryGroupByExpression": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "QueryGroupByExpression"
},
"groupElement": {
"$ref": "#/definitions/LogicItem"
}
},
"required": [
"concept",
"groupElement"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "QueryGroupByExpression",
"groupElement": null
}
concept: QueryGroupByExpression
groupElement: null