How to Use Coherence Filters in Combination with Java Collections
(Doc ID 1388977.1)
Last updated on JANUARY 18, 2023
Applies to:
Oracle Coherence - Version 3.6.1.2 and laterInformation in this document applies to any platform.
Goal
Customer is using Coherence filters in combination with java Collections. This example is useful to understand Coherence filters. Customer is having Class-A implementing PortableObject that has a number of fields. One of those fields is a Collection of Class-B which is also a PortableObject with a number of fields. One of those fields is a Collection of Class-C which is also a PortableObject with a number of fields, it is as follow:
Customer would like to know how using Coherence API to return all the instances of A in the cache that have one or more instances of B in their list that have instance C in their list where C.Name == "XYZ" AND C.Type = "A".
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |