QueryFieldExpression 查询属性
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface QueryFieldExpression {
"concept": "QueryFieldExpression", // 产品概念
"isDotStar": boolean, // isDotStar
"asName": string, // asName
"entityAsName": string, // entityAsName,指向 QueryFromExpression/QueryJoinExpression 的 entityAsName 或 entityName
"propertyName": string, // propertyName
}
class QueryFieldExpressionTreeNode {
ConceptEnum concept; // 产品概念
boolean isDotStar; // isDotStar
String asName; // asName
String entityAsName; // entityAsName,指向 QueryFromExpression/QueryJoinExpression 的 entityAsName 或 entityName
String propertyName; // propertyName
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/QueryFieldExpression",
"definitions": {
"QueryFieldExpression": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "QueryFieldExpression"
},
"isDotStar": {
"type": "boolean"
},
"asName": {
"type": "string"
},
"entityAsName": {
"type": "string"
},
"propertyName": {
"type": "string"
}
},
"required": [
"concept",
"isDotStar",
"asName",
"entityAsName",
"propertyName"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "QueryFieldExpression",
"isDotStar": false,
"asName": null,
"entityAsName": null,
"propertyName": null
}
concept: QueryFieldExpression
isDotStar: false
asName: null
entityAsName: null
propertyName: null