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