Hazelcast 是否支持缓存中基于 JSON 的对象?
Does Hazelcast support JSON-based objects in cache?
如主题:Hazelcast 是否支持将 JSON 对象存储为缓存数据,我找不到任何好的信息?如果是这样,它是否允许基于某些 JSONPath/JPQL/SQL-like 表达式查询此类对象?
我看到 Apache Geode (GemFire) 确实支持这样的功能:http://geode-docs.cfapps.io/docs/developing/data_serialization/jsonformatter_pdxinstances.html 我想知道大竞争对手是否也能做到这一点。
Hazelcast 没有对 JSON 的开箱即用支持。
在 Hazelcast 3.6 中,您有自定义提取器 -> 您可以有一个 JSON 提取器,然后在查询中使用。以 https://github.com/hazelcast/hazelcast-code-samples/tree/master/distributed-map/custom-attributes 为例。
Hazelcast 3.12 中添加了 JSON 支持:https://docs.hazelcast.org/docs/latest/manual/html-single/#querying-json-strings
您可以签出合并的拉取请求:https://github.com/hazelcast/hazelcast/pull/14307
如主题:Hazelcast 是否支持将 JSON 对象存储为缓存数据,我找不到任何好的信息?如果是这样,它是否允许基于某些 JSONPath/JPQL/SQL-like 表达式查询此类对象?
我看到 Apache Geode (GemFire) 确实支持这样的功能:http://geode-docs.cfapps.io/docs/developing/data_serialization/jsonformatter_pdxinstances.html 我想知道大竞争对手是否也能做到这一点。
Hazelcast 没有对 JSON 的开箱即用支持。
在 Hazelcast 3.6 中,您有自定义提取器 -> 您可以有一个 JSON 提取器,然后在查询中使用。以 https://github.com/hazelcast/hazelcast-code-samples/tree/master/distributed-map/custom-attributes 为例。
Hazelcast 3.12 中添加了 JSON 支持:https://docs.hazelcast.org/docs/latest/manual/html-single/#querying-json-strings
您可以签出合并的拉取请求:https://github.com/hazelcast/hazelcast/pull/14307