是否有像数据库的 JDBC 一样的 NoSQL/键值存储抽象库?

发布于 2024-08-21 14:13:29 字数 144 浏览 3 评论 0原文

我使用过很多 SQL 抽象库,例如 ODBC、JDBC 和 ActiveRecord。 NoSQL/键值存储世界中有哪些抽象选项?

我主要是问这个问题,这样如果我选择键值存储,那么我就可以使用抽象库而不会被锁定,考虑到周围键值存储的数量,我认为这一点很重要。

I have used many SQL abstraction libraries, such as ODBC, JDBC, and ActiveRecord. What are the abstraction options in the NoSQL / key-value store world?

I am mostly asking this so that if I choose a key-value store then I can use an abstraction library and not be locked in, which I think is important given the number of key value stores around.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

你的呼吸 2024-08-28 14:13:29

即使 NOSQL 数据库彼此之间有很大不同,它们也可以分为有意义的组,请参阅 这篇博文。 Gremlin 是一个旨在在不同 NOSQL 数据库之上定义抽象的新项目,请参阅 InfoQ:Gremlin ,一种用于处理图形的语言。从 NOSQL 范围的图形数据库端开始,该项目已转向文档存储,创建对象文档模型,并计划为 MongoDB 和 CouchDB 实现,请参阅 此处此处

Even if the NOSQL databases are very different from each other, they can be divided into meaningful groups, see this blog post. A new project aiming at defining abstractions on top of different NOSQL databases is Gremlin, see InfoQ: Gremlin, a Language for Working with Graphs. Starting out from the graph database end of the NOSQL spectrum, the project has since moved on to document stores, creating an Object Document Model with implementations planned for MongoDB and CouchDB, see here and here.

初心未许 2024-08-28 14:13:29

不。目前,NoSql 数据库非常不同,因此它们无法在保持重要的同时包装在标准接口下。

No. Right now, NoSql databases are very disparate, therefore they cannot be wrapped under a standard interface while remaining non trivial.

阪姬 2024-08-28 14:13:29

我们在 InfoGrid 中有这样一个抽象,称为 Store 接口。它非常简单,但正是为此目的而创建的:一个通用 API,允许 InfoGrid 与不同的键值存储实现进行对话,而不需要在更高级别上进行更改。

一些链接:

We have such an abstraction in InfoGrid called the Store interface. It is very simplistic, but was created exactly for that purpose: a common API that allows InfoGrid to talk to different key-value store implementations without requiring changes on the higher levels.

Some links:

失退 2024-08-28 14:13:29

Gremlin 在 Tinkerpop 蓝图 之上运行。昨天发布了新版本的 Gremlin (0.5),支持新的存储,例如 OrientDB,一个新的存储库。开源文档图数据库管理系统。

Gremlin runs on top of Tinkerpop Blueprints. Yesterday has been released the new version of Gremlin (0.5) with the support of new storages such as OrientDB, a new open source document-graph dbms.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文