Context based cache infrastructure to enable subset query over a cached object
First Claim
1. A method, in a data processing hardware system having a processor, comprising:
- receiving, from a user, a query to a root context of a context tree, the query including a name and value pair;
traversing, upon detecting the query to the root context of the context tree, the context tree for a parent context of a subcontext corresponding to the name and value pair; and
determining, by the processor, whether the parent context caches all query results.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, an apparatus, and computer instructions are provided for a context based cache infrastructure to enable subset query over a cached object. Responsive to detecting a query to a root context of a context tree, the tree is traversed for a parent context of a subcontext corresponding to the name and value pair, which is identified by a user in the query. If the parent context caches all query results, the query results are iterated and the remaining name and value pairs are filtered out. However, if the parent context does not cache all query results, the traversing step is repeated for next parent context of the subcontext until a root context is encountered. If a root context is encountered, a query is issued to the database for the name and value pair and the result of the database query is cached in a new context.
-
Citations
20 Claims
-
1. A method, in a data processing hardware system having a processor, comprising:
-
receiving, from a user, a query to a root context of a context tree, the query including a name and value pair; traversing, upon detecting the query to the root context of the context tree, the context tree for a parent context of a subcontext corresponding to the name and value pair; and determining, by the processor, whether the parent context caches all query results. - View Dependent Claims (2, 3, 4, 5, 6, 7, 9)
-
-
8. A data processing hardware system, comprising:
a processor, wherein the processor is configured to perform; receiving, from a user, a query to a root context of a context tree, the query including a name and value pair; traversing, upon detecting the query to the root context of the context tree, the context tree for a parent context of a subcontext corresponding to the name and value pair; and determining whether the parent context caches all query results. - View Dependent Claims (10, 11, 12, 13, 14)
-
15. A computer program product comprising a computer usable storage medium having stored therein computer usable program code, the computer usable program code, which when executed on a data processing hardware system, causes the data processing hardware system to perform:
-
receiving, from a user, a query to a root context of a context tree, the query including a name and value pair; traversing, upon detecting the query to the root context of the context tree, the context tree for a parent context of a subcontext corresponding to the name and value pair; and determining whether the parent context caches all query results. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification