K-V储存的泽普林替代品

问题描述 投票:0回答:1

在调试Ignite应用程序时检查键值条目的任何替代方法? Zeppelin只能执行SQL查询。遮阳板命令->修改-get -c = CName很难处理,也无法通过通配符搜索键来获取条目。还是有什么方法可以通过SQL查询来查询K-V商店?

ignite gridgain
1个回答
0
投票

您可以使用:

1] REST

https://apacheignite.readme.io/docs/rest-api#get-and-remove

2)创建将使用本机缓存API的胖JAVA,.NET,C ++客户端

3)节点JS客户端:

https://github.com/apache/ignite/blob/master/modules/platforms/nodejs/examples/CachePutGetExample.js

4)Python客户端:

https://apacheignite.readme.io/docs/python-thin-client-key-value

5)PHP客户端:

https://apacheignite.readme.io/docs/php-thin-client-key-value

可能我错过了一些集成。

据我所知,Zeppelin使用Scala语法支持cacheAPI:

https://zeppelin.apache.org/docs/0.8.0/interpreter/ignite.html

val cache: IgniteCache[AffinityUuid, String] = ignite.cache("words")

还有最后的方法。您可以将查询实体添加到缓存中,然后像下面一样运行查询:

select _key, _val from table;
© www.soinside.com 2019 - 2024. All rights reserved.