iGraph Gremlin语法与开源使用差异
g("图名")需要指定图名
V()/E()需要指定key值、不支持做全图搜索
全图搜索的场景,可通过indexQuery 方案
查询语句中必须使用hasLabel()指定Label
使用双引号""
暂不支持反向边
算子功能差异
Step | 差异点 |
aggregate | 不支持指定global/local |
alias | iGraph自研算子 |
and | and()中不能是空,即不支持中缀表示法 |
or | 同上 |
barrier | 不支持指定LazyBarrierStrategy;可指定barrier(Barrier.nodedup):只阻塞,不合并相同objects。 |
bulk | iGraph额外支持的算子 |
distinct | iGraph自研算子 |
fields | iGraph自研算子 |
fold | 不支持接收参数 |
has | 不支持has(label, key, value), has(P,value)->has(P,T)等部分接口 |
indexQuery | iGraph自研算子 |
limit | 不支持指定global/local |
math | 不支持复杂计算 |
mean | 不支持local |
order | 升序降序asc/desc-> incr/decr |
P/Predicates | 不支持TextP类型 |
PathRecordStrategy | iGraph自研策略 |
PushDownStrategy | iGraph自研策略 |
sample | iGraph可以额外指定采样策略 |
withSack | 参数书写规则不完全一致 |
withStrategies | 只支持自研的 PathRecordStrategy 和 PushDownStrategy |
该文章对您有帮助吗?
- 本页导读 (0)
- iGraph Gremlin语法与开源使用差异
- 算子功能差异