UQL的保留关键字是具有特殊意义,且能够控制UQL查询行为的词。这些保留关键字不能用作变量名、schema名称或属性名称等。
以下为UQL的保留关键字。
分类 | 关键字 |
---|---|
系统属性 | _id ,_uuid ,_from ,_to ,_from_uuid ,_to_uuid |
系统表别名 | _graph ,_graph_shard_N _nodeSchema ,_nodeSchema_shard_N _edgeSchema ,_edgeSchema_shard_N ,_graphCount ,_nodeProperty ,_nodeProperty_shard_N ,_edgeProperty ,_edgeProperty_shard_N ,_nodeIndex ,_edgeIndex ,_nodeFulltext ,_edgeFulltext ,_statistic ,_top ,_task ,_policy ,_user ,_privilege ,_algoList ,_extaList , _hdcGraphList , _projectionList |
系统别名 | this ,prev_n ,prev_e |
运算符[1] | IN ,NIN ,CONTAINS ,XOR ,DISTINCT ,IS NULL ,IS NOT NULL |
语句[1] | GROUP BY ,ORDER BY ,SKIP ,LIMIT ,WHERE ,RETURN ,WITH ,UNCOLLECT ,UNION ,UNION ALL ,CALL ,OPTIONAL ,EXPLAIN |
修饰符[1] | AS ,ASC ,DESC |
表达式[1] | CASE ,WHEN ,THEN ,ELSE ,END |
[1]这些关键字不区分大小写。