腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
如何
使用
gremlin
javascript
中
的
克隆
功能
?
、
query) 参考:http://tinkerpop.apache.org/docs/current/recipes/#traversal-component-reuse const { Graph } =
gremlin
.structure;const { _ } =
gremlin
.process.statics; const
浏览 18
提问于2019-09-20
得票数 0
1
回答
用
Javascript
实现
Gremlin
/ Janusgraph Websocket客户端
、
、
、
我需要通过
javascript
实现到Janusgraph (v0.2) /
Gremlin
(v3.2.6)
的
连接。但是,我看到
gremlin
-
javascript
的
最低版本是3.2.8,即便如此,它也没有sasl身份验证
功能
。因此,我
如何
使用
javascript
中
的
原生WebSocket库和普通
的
sasl身份验证来实现一个简单
的
<em
浏览 30
提问于2020-07-24
得票数 0
1
回答
用于添加边缘
的
gremlin
服务器查询
、
、
我正在通过nodejs
中
的
gremlin
-
javascript
模块向
gremlin
服务器发送查询。,"product","product_id",991);graph.tx().commit();顶点a.addEdge("someEdgeType",b); 我发现存在grex模块,它支持
的
功能</e
浏览 4
提问于2016-05-03
得票数 0
回答已采纳
1
回答
Gremlin
转换器返回错误:“无法读取未定义
的
属性'length‘”
、
我正在尝试
使用
这里描述
的
翻译器
功能
:https://tinkerpop.apache.org/docs/3.4.11/reference/#translators 但我得到一个错误:“无法读取未定义
的
属性'length‘” 我追溯到
Gremlin
中
的
这一行:https://github.com/apache/tinkerpop/blob/b8
浏览 12
提问于2021-06-21
得票数 0
回答已采纳
2
回答
gremlin
python
克隆
遍历
、
、
我正在
使用
gremlin
-python连接到
gremlin
-server,并且我试图增量地构建一个查询,但是我遇到了问题。().next() 但是,当我打印字节码时,即使我
克隆
了字节码,query仍然有count()
的
步骤。这是
gremlin
-python
的
预期行为吗?', 'alabel']] [['V'], ['hasLabel', 'alabel'], ['coun
浏览 45
提问于2020-07-10
得票数 2
回答已采纳
2
回答
WebSocket未打开: readyState 2(正在关闭)
、
在冷启动时,我
的
Lambda函数在尝试初始化与海王星
的
连接时会返回此错误。在此之后,连接成功,没有错误。如果Lambda再次变冷,则返回错误。const graph = new Graph(); g.V(); dc.close();
使用
gremlin
@^3.4.6和节点12.x。https://github.com/websockets/ws/issues
浏览 106
提问于2020-05-02
得票数 2
回答已采纳
1
回答
将
gremlin
CLI连接到远程修补程序
gremlin
服务器。
、
、
使用
gremlin
-
javascript
,我将
使用
以下方法连接到远程服务器:const Graph =
gremlin
.structure.Graphg = graph .withRemote(new DriverRemoteConnection('ws://localhost:8182/
greml
浏览 0
提问于2018-10-25
得票数 5
回答已采纳
1
回答
.in在
javascript
gremlin
中
不可用?
、
、
、
我可以通过
javascript
gremlin
使用
.out和.both进行查询,但不能进行.in查询。是否有实现此
功能
的
变通方法?
浏览 13
提问于2021-04-05
得票数 0
1
回答
在
gremlin
-
javascript
中
使用
"project“和"select”会抛出错误
、
我有一个简单
的
查询,当我在控制台上运行它时,它会给出我预期
的
结果,但当我
使用
gremlin
node.js驱动程序/
gremlin
-
javascript
在aws-neptune DB
中
运行它时,它会失败查询在控制台运行成功 g.V().hasLabel('item').project('id').by(id).select(values)==>[item2] ==>[item3
浏览 21
提问于2019-05-20
得票数 1
1
回答
无法
使用
用
javascript
编写
的
AWS Lambda在AWS Neptune中提交事务
、
、
、
、
我需要
使用
gremlin
事务
使用
npm
gremlin
库。我研究了tinkerpop文档- 中提到
的
javascript
的
标准事务语法。我也在用AWS Lambda。以下是我
的
lambda
功能
:const { t: { id } } =
gremli
浏览 4
提问于2022-05-21
得票数 0
回答已采纳
1
回答
在带有
javascript
的
gremlin
中
使用
`filter` lambda
、
、
、
我将OrientDb与
JavaScript
一起
使用
,并尝试
使用
startingWith、containing、endingWith、notContaining、notEndingWith、notStartingWith可能是我这边
的
一个错误
的
实现,但我还没有找到关于
如何
使用
的
文档。我一直在寻找一种
使用
lambda进行过滤以获得sql like行为
的
方法,但一直没有成功。我尝试
使用
方法,但它在
浏览 16
提问于2020-02-25
得票数 0
1
回答
是否可以通过
gremlin
服务器在OrientDB
中
打开事务?
、
、
、
、
通过查看orientdb
gremlin
库
的
java源代码,我注意到它似乎只是一个包装器,它获取
gremlin
命令并转换为orientdb查询。我试图在
javascript
(NodeJs)中
使用
gremlin
和
gremlin
数据库,并为此
使用
gremlin
js库。我可以很好地连接到
gremlin
服务器(我
使用
的
是OrientDB 3.0.14附带
的
服务器),但
浏览 0
提问于2019-02-12
得票数 0
回答已采纳
1
回答
服务器启动时“g”和“图”vars
的
初始化
、
启动
gremlin
控制台时,g和graph对象不会被自动实例化。从阅读
中
可以看出,在启动过程
中
,我似乎没有正确配置
的
东西来允许这样做。我检查了我
的
gremlin
-server.yaml文件,其中包括 graph: conf/
gremlin
-server/dynamodb.properties}
gremlin
> graph = TitanFactory.op
浏览 2
提问于2016-04-09
得票数 1
回答已采纳
1
回答
在typescript +
gremlin
中
实现包含
、
、
在我
的
javascript
和
gremlin
实现
中
,我能够毫无问题地
使用
contains: const
gremlin
= require("
gremlin
");var result = await g.properties()... etc } 这不会抛出任何错误,我
浏览 7
提问于2021-02-11
得票数 1
1
回答
错误:试图连接到远程
gremlin
服务器(TinkerPop3)时连接ECONNREFUSED
、
、
、
、
我
使用
模块访问远程
gremlin
服务器。我在app.js
中
的
代码:var client =
gremlin
.createClient(8182, 'localhost但是当我将'localhost‘替换为我
的
远程服务器地址- cbtitan.cloudapp.net时,它会返回ECONNREFUSED错误。 要连接到远程服务器,我
浏览 2
提问于2015-10-23
得票数 2
2
回答
使用
Gremlin
Javascript
在JanusGraph
中
创建和查询Geopoint
、
、
、
我找不到一种
使用
gremlin
javascript
客户端(3.4.2)来创建包含Geopoint
的
顶点
的
方法。).make(); 阅读来自JanusGraph
的
文档,我应该能够做一些类似这样
的
事情,无论是查询还是创建: g.addV('location').property('geopoint', Geoshape.point(45.944, 18.485)); 问题是我在
使用
gremlin
客
浏览 25
提问于2019-06-15
得票数 1
回答已采纳
2
回答
工作
gremlin
javascript
示例
、
、
有一个新
的
版本出来了,但是文档有点缺乏一个工作示例。我一直想找个例子来证明这一点。任何帮助都值得赞赏:npm
gremlin
lib: 3.3.2import DriverRemoteConnection from '
gremlin
/lib/
浏览 0
提问于2018-04-19
得票数 2
回答已采纳
1
回答
用于Azure CosmosDB
的
Gremlin
Python
、
、
、
CosmoDB &
Gremlin
& Python13
的
Azure站点上
的
文档
使用
了糟糕
的
实践--大量
的
代码复制和串连字符串形成查询,而不是
使用
原生python。但是,当尝试
使用
本机SDK时,由于序列化errors4,有一个2年前
的
bug阻止了它
的
出现。 在CosmosDB中
使用
Gremlin
& Python
的
最佳方法是什么?我应该完全
浏览 1
提问于2020-05-06
得票数 1
回答已采纳
2
回答
gremlin
-python不是可用
的
GremlinScriptEngine。
、
、
、
、
我试图
使用
gremlin
python在AWS海王星上执行lambda函数。它击中了我
gremlin
-python is not an available GremlinScriptEngine。g.V().out().map(lambda: "lambda x: len(x.get().value('event'))").toList() 图中
的
每个顶点都包含一个event属性,即文本。执行
的
查询:g.V().out().map(lambda: "lam
浏览 4
提问于2019-07-01
得票数 2
回答已采纳
1
回答
如何
在
Gremlin
JavaScript
中
设置Long Integer属性?
、
**问题****为什么这是个问题?**public static async experiment(): Promise<any
浏览 13
提问于2022-07-01
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
JavaScript 2018 中即将迎来的新功能
如何理解javascript中的工厂模式
如何使用机器人程序中的逻辑功能
excel演示中如何使用排练计时功能
JavaScript中的原型到底该如何理解?
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券