COMPOSITIONAL QUERY COMPREHENSIONS
First Claim
1. A computer-implemented system that facilitates composable and/or extensible query comprehensions, comprising:
- a transformation component that receives initialization data and a set of query clauses in a sequence characterized by a query expression, the transformation component resolves values of a control variable in scope for each query clause, respectively, and in a manner that is independent of an ordering of the sequence; and
a comprehension component that manages a scope of the control variable.
2 Assignments
0 Petitions
Accused Products
Abstract
The claimed subject matter relates to an architecture that can facilitate query comprehension that are constructed in a compositional manner. In accordance therewith, the query comprehensions can be assembled together in virtually in order without common requirements that force query operators of a query expression to follow ordering/syntactic rules. In addition, the architecture can provide for query expressions that arbitrarily composable and which can be terminated at any point. If the query expression terminates without a Select or Return clause at the end, the architecture can facilitate generation of an implicit Select or Return, and output results.
41 Citations
20 Claims
-
1. A computer-implemented system that facilitates composable and/or extensible query comprehensions, comprising:
-
a transformation component that receives initialization data and a set of query clauses in a sequence characterized by a query expression, the transformation component resolves values of a control variable in scope for each query clause, respectively, and in a manner that is independent of an ordering of the sequence; and a comprehension component that manages a scope of the control variable. - View Dependent Claims (2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
5. The system of claim 5, the new control variable is associated with at least one of a collection or a computed expression.
-
19. A computer-implemented method for facilitating construction of query comprehensions in a compositional manner, comprising:
-
obtaining a collection and a control variable associated with the collection; receiving in succession a current query clause from a set of query clauses included in a query expression without placing syntactical ordering restrictions on the expression; modifying the collection based upon the current query clause; and providing access to control variables that are in scope for the current query clause, the access is provided to a next query clause.
-
-
20. A computer-implemented system for facilitating compositional query comprehensions, comprising:
-
computer-implemented means for acquiring a collection or an expression, and a control variable associated with the collection or the expression; computer-implemented means for receiving a present query clause from a sequence of query clauses, the sequence is not required to conform to a predefined order; computer-implemented means for transforming the collection based upon the present query clause; and computer-implemented means for granting a next query clause access to control variables in scope for the present query clause.
-
Specification