简体   繁体   English

Oracle Coherence缓存对象

[英]Oracle Coherence Cache Object

As I do not see much clarification about cache object in Oracle COherence document from Oracle, any one have idea about 由于我在Oracle的Oracle COherence文档中看不到有关缓存对象的太多说明,因此任何人都对

  1. If Oracle Coherence allows HashMap (Java) Object as a cache Object? Oracle Coherence是否允许HashMap(Java)对象作为缓存对象?

  2. If yes, does Oracle Coherence CohQL supports building dynamic filter on HasMap object in Oracle Coherence Cache? 如果是,Oracle Coherence CohQL是否支持在Oracle Coherence Cache中的HasMap对象上构建动态过滤器?

Appreciate in advance.. 提前欣赏

Yes, you can store a HashMap as a value in Coherence. 是的,您可以将HashMap作为值存储在Coherence中。

Normally though, you'd create a custom value object that holds the data you are working to manage, and one of its properties might be a Map. 不过,通常情况下,您将创建一个自定义值对象,该对象包含您要管理的数据,其属性之一可能是Map。 That way, you can query on the various properties of the value object. 这样,您可以查询值对象的各种属性。

For the sake of full disclosure, I work at Oracle. 为了全面披露,我在Oracle工作。 The opinions and views expressed in this post are my own, and do not necessarily reflect the opinions or views of my employer. 这篇文章中表达的观点和观点是我自己的,不一定反映我雇主的观点或观点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM