Managing expressions in a database system
Abstract
A method for managing expressions includes receiving a first query that includes a first conditional expression. The first expression is then represented as data in a column of a table. A second query is received that specifies a first set of criteria, and the second query is executed to select data based at least on whether expressions in the column satisfy the first set of criteria. In an embodiment, the second query further specifies a second set of criteria, wherein executing the second query includes selecting data based on whether data in columns other than the expression column satisfy the second criteria. A special index is defined, which can be created on the column that stores the expressions as data, to filter large sets of expressions efficiently. A method of evaluating an expression set stored as data in a table classifies each predicate from each expression, and filters the expression set based on the predicate classification.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 46 · Forward citations: 53.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for managing expressions in a database, the method comprising the steps of: receiving a first query that includes an expression that defines a first condition relating to a first attribute; representing the first condition as data in a column of a row of a table; storing a first value in association with the data, wherein the first value relates to a second attribute; receiving a second query that specifies a second value associated with the first attribute and a second condition relating the second attribute; and executing the second query, wherein executing the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 53 total)
References Cited — Backward Prior Art (46)
Non-Patent Literature (5)
- Bea, :Using Expressions and Conditions, WebLogic Process Integrator Release 1.1, 2000, located on the internet at http://e-docs.bea.com/wlpi/wlpil1/studio/ch6.htm retrieved on Dec. 29, 2005, 12 pages.
- Chamberlain, Don et al., "XQuery: A Query Language for XML," W3C Working Draft, Feb. 15, 2001, located on the internet at http://www.w3.org/TR/2001/WD-xquery-20010215/ retrieved on Dec. 29, 2005, 83 pages.
- Chamberlain, Don, "Query Languages and XML," Powerpoint Presentation, IBM Almaden Research Center, Dec. 2000, located on the internet at http://www-db.sc.wisc.edu/dbseminar/fall00/talks/chamberlain, 26 pages.
- Charles L. Forgy, "Rete: A Fast Algorithm for the Many Pattern/Many Object Pattern Match Problem," Artificial Intelligence, 1982, pp. 17-37.
- Clara Nippl, et al., "Accelerating Profiling Services by Parallel Database Technology," undated, 9 pages.