Procedures in Object-Oriented Query Languages
暂无分享,去创建一个
We follow the stack-baaed approach to query languages which is a new formal and intellectual paradigm for integrating querying and programming for object-oriented databases. Queries are considered generalized programing expressions which may be used within macroscopic imperative statements, such as creating, updating, inserting, and deleting data objects. Queries may be also used as procedures’ parameters, as well as determine the output from functional procedures (SQL-like views). The semantics, including generalized query operators (selection, projection, navigation, join, quantifiers, etc.), is defined in terms of operations on two stacks. The environment stack deals with the scope control and binding names. The result stack stores intermediate and final query results. We discuss definitions of object-oriented concepts and present variants of parameter passing methods. Finally, we indicate a potential of the approach for query optimization based on rewriting.
[1] Florian Matthes,et al. Viewers: A Data-World Analogue of Procedure Calls , 1993, VLDB.
[2] Catriel Beeri,et al. A Stack-Based Approach to Query Languages , 1994, East/West Database Workshop.
[3] R. G. G. Cattell,et al. The Object Database Standard: ODMG-93 , 1993 .
[4] David Jordan,et al. The Object Database Standard: ODMG 2.0 , 1997 .