Recursive functions in a data base language for complex objects

1Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The work presented in this paper demonstrates a new method for recursive queries in a complex object data base system. The method is called functional recursion. Most previous approaches express recursive queries by set oriented recursion, i.e. they allow us to define a set M recursively by an equation M = f{hook}(M). In contrast to set oriented recursion, functional recursion as defined in this paper allows the user to define a function f{hook} recursively by an equation f{hook} = F(f{hook}). As opposed to recursive functions written in a conventional programming language, the termination criterion which sometimes is rather complex does not have to be programmed by the user but is given implicitly. By providing appropriate parameters to a function, the user can integrate a selection into the recursion in a convenient and natural way. This is not the case for set oriented recursion. When using set recursion, the user is forced to formulate a query which computes more than really needed. It is the task of the optimizer then to push the subsequent selection into the recursion. This means that the user cannot write the query in a natural way and the system then has to figure out what the user wanted. All these problems are avoided when using recursive functions as defined in this paper. Moreover, a solution based on key oriented duplicate elimination is presented which solves the problem of lists and arithmetics in the context of recursive functions. The method is illustrated by bill-of-materials examples and by a railroad example. © 1990.

Cite

CITATION STYLE

APA

Linnemann, V. (1990). Recursive functions in a data base language for complex objects. Information Systems, 15(6), 627–645. https://doi.org/10.1016/0306-4379(90)90065-W

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free