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 ,_job ,_policy ,_user ,_privilege ,_algoList ,_extaList , _hdcGraphList , _projectionList ,_vector ,_nodeVectorIndex ,_edgeVectorIndex , _backupList |
系统别名 | 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]这些关键字不区分大小写。