QueryFromExpression 查询 From 子句
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface QueryFromExpression {
"concept": "QueryFromExpression", // 产品概念
"entityNamespace": string, // 实体的命名空间
"entityName": string, // 实体名称
"asName": string, // 别名
"joinParts": Array<QueryJoinExpression>, // 查询 Join 子句列表
}
class QueryFromExpressionTreeNode {
ConceptEnum concept; // 产品概念
String entityNamespace; // 实体的命名空间
String entityName; // 实体名称
String asName; // 别名
List<QueryJoinExpressionTreeNode> joinParts; // 查询 Join 子句列表
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/QueryFromExpression",
"definitions": {
"QueryFromExpression": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "QueryFromExpression"
},
"entityNamespace": {
"type": "string"
},
"entityName": {
"type": "string"
},
"asName": {
"type": "string"
},
"joinParts": {
"type": "array",
"items": {
"$ref": "#/definitions/QueryJoinExpression"
}
}
},
"required": [
"concept",
"entityNamespace",
"entityName",
"asName",
"joinParts"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "QueryFromExpression",
"entityNamespace": null,
"entityName": null,
"asName": null,
"joinParts": []
}
concept: QueryFromExpression
entityNamespace: null
entityName: null
asName: null
joinParts: []