Managing results of federated searches across heterogeneous datastores with a federated collection object
First Claim
1. A method of processing results of a query in a computer system using logical objects of an object-oriented data model, said method comprising:
- representing a plurality of said results as a plurality of data objects in said object-oriented data model;
representing collections of said data objects as collection objects in said object-oriented data model; and
representing a collection of said collection objects as a federated collection object in said object-oriented data model, thereby providing an object-oriented framework which can return the results of a query as a nested-object structure of said object-oriented data model, so that said data objects are nested within said collection objects and said collection objects are nested within said federated collection object.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer method and system capable of searching multiple heterogeneous datastores with heterogeneous data types by employing an object oriented data model to define a federated query object, a federated collection object and a federated datastore object. The federated query object translates a generic query into the appropriate queries for each datastore, the federated datastore object acts as a virtual datastore for multiple heterogeneous datastores with the ability to map concepts between datastores, and the federated collection object represents results from a federated query in a hierarchy that maintains sub-grouping information from each datastore to allow accessing of results by datastore or as a single collection of results. The federated objects thus provide user applications with enhanced accessibility of different hierarchies of information, as well as more robust search capabilities.
247 Citations
48 Claims
-
1. A method of processing results of a query in a computer system using logical objects of an object-oriented data model, said method comprising:
-
representing a plurality of said results as a plurality of data objects in said object-oriented data model;
representing collections of said data objects as collection objects in said object-oriented data model; and
representing a collection of said collection objects as a federated collection object in said object-oriented data model, thereby providing an object-oriented framework which can return the results of a query as a nested-object structure of said object-oriented data model, so that said data objects are nested within said collection objects and said collection objects are nested within said federated collection object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
iteratively accessing said data objects in said federated collection object, including data objects in said collection objects, to return said plurality of results.
-
-
3. A method according to claim 2, wherein said iterative accessing is initiated by said federated collection object.
-
4. A method according to claim 1, wherein said federated collection object allows both individual processing of said data objects and group processing of said collection objects.
-
5. A method according to claim 1, wherein said federated collection object is operable to contain collection objects as well as individual data objects.
-
6. A method according to claim 1, wherein said federated collection object provides both individual processing of said data objects and group processing of said collection objects.
-
7. A method according to claim 1, wherein said federated collection object represents the data objects of a query of multiple heterogeneous datastores.
-
8. A method according to claim 7, wherein said data objects are grouped in a plurality of collection objects such that a collection object represents data objects from a corresponding one of said multiple heterogeneous datastores.
-
9. A method according to claim 1, further comprising:
using a federated iterator interface to iterate over the collective members of a federated collection object across collection object boundaries and into collection objects, to return data objects within collection objects.
-
10. A method according to claim 9, wherein said federated iterator is an interface in said federated collection object.
-
11. A method according to claim 10, wherein said federated iterator is a subclass of a more general sequential iterator class.
-
12. A method according to claim 1, wherein said federated collection object is operable to return results of said query in a datastore-neutral format.
-
13. An object-oriented computer software package for processing results of a query in a computer system using an object-oriented data model, said package comprising:
-
a data class defining methods and attributes used by a data object to represent and manipulate results of said query individually;
a collection class defining methods and attributes used by a collection object to represent and manipulate collections of said data objects together; and
a federated collection class defining methods and attributes used by a federated collection object to represent and manipulate multiple collection objects together;
said software package thereby providing an object-oriented framework which can return the results of a query as a nested-object stricture of said object-oriented data model, so that said data objects are nested within said collection objects and said collection objects are nested within said federated collection object. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
a federated iterator interface operable to iterate over the collective members of a federated collection object across collection object boundaries and into collection objects, to return data objects from within collection objects.
-
-
22. An object-oriented computer software package according to claim 21, wherein said federated iterator is an interface in said federated collection object.
-
23. An object-oriented computer software package according to claim 22, wherein said federated iterator interface is a subclass of a more general sequential iterator class.
-
24. An object-oriented computer software package according to claim 13, wherein said federated collection object is operable to return results of said query in a datastore-neutral format.
-
25. A computer system capable of processing results of a query using instructions and data in logical objects of an object-oriented data model, comprising:
-
a memory system storing said instructions and data;
a CPU operable to read said instructions from said memory system, said instructions causing said CPU to represent a plurality of said results as a plurality of data objects, represent collections of said data objects as collection objects, and represent a collection of said collection objects as a federated collection object;
said system thereby providing an object-oriented framework which can return the results of a query as a nested-object structure of said object-oriented data model, so that said data objects are nested within said collection objects and said collection objects are nested within said federated collection object. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. An object-oriented computer software package stored in a computer readable medium, for processing results of a query in a computer system using an object-oriented data model, said package comprising:
-
a data class defining methods and attributes used by a data object to represent and manipulate results of said query individually;
a collection class defining methods and attributes used by a collection object to represent and manipulate collections of said data objects together; and
a federated collection class defining methods and attributes used by a federated collection object to represent and manipulate multiple collection objects together;
said software package thereby providing an object-oriented framework which can return the results of a query as a nested-object stricture of said object-oriented data model, so that said data objects are nested within said collection objects and said collection objects are nested within said federated collection object. - View Dependent Claims (38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48)
a federated iterator interface operable to iterate over the collective members of a federated collection object across collection object boundaries and into collection objects, to return data objects from within collection objects.
-
-
46. An object-oriented computer software package stored in a computer readable medium according to claim 45, wherein said federated iterator is an interface in said federated collection object.
-
47. An object-oriented computer software package stored in a computer readable medium according to claim 46, wherein said federated iterator interface is a subclass of a more general sequential iterator class.
-
48. An object-oriented computer software package stored in a computer readable medium according to claim 37, wherein said federated collection object is operable to return results of said query in a datastore-neutral format.
Specification