Query-based searching using a virtual table
First Claim
Patent Images
1. A computer-implemented method of searching a data model using a virtual table, comprising:
- storing in a database a definition of a virtual table that is a view into a data model of the database represented in a domain structure;
receiving a query by the database, the query indicating the virtual table, selecting one or more columns of the virtual table, and specifying one or more search parameters for the query;
translating the received query into a set of data model queries for searching the data model, using the one or more selected columns of the virtual table and the one or more specified search parameters and the virtual table definition;
searching one or more compressed tokenized data segments stored in the data model based on the set of data model queries to produce data model query results; and
processing the data model query results based on the selected one or more columns of the virtual table to produce a result set table comprising a schema column, a table column, a column column, a urowid column, and a value column and a plurality of rows corresponding to each urowid in the result set table.
8 Assignments
0 Petitions
Accused Products
Abstract
A method of searching all tables in a data model is disclosed, using a non-materializing virtual table interface that acts as a view into the underlying data model. The virtual table is virtually built on the fly at query execution time, and maps to all columns and rows within the data model. A query on the virtual table is translated into a set of data model queries for searching the data model, based on columns selected from the virtual table and other specified search parameters, as well as the virtual table definition. The search process works in conjunction with data domains, and uses compaction and tokenization of data.
-
Citations
25 Claims
-
1. A computer-implemented method of searching a data model using a virtual table, comprising:
-
storing in a database a definition of a virtual table that is a view into a data model of the database represented in a domain structure; receiving a query by the database, the query indicating the virtual table, selecting one or more columns of the virtual table, and specifying one or more search parameters for the query; translating the received query into a set of data model queries for searching the data model, using the one or more selected columns of the virtual table and the one or more specified search parameters and the virtual table definition; searching one or more compressed tokenized data segments stored in the data model based on the set of data model queries to produce data model query results; and processing the data model query results based on the selected one or more columns of the virtual table to produce a result set table comprising a schema column, a table column, a column column, a urowid column, and a value column and a plurality of rows corresponding to each urowid in the result set table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system for searching a data model using a virtual table, comprising:
-
a database storing a definition of a virtual table that is a view into a data model of the database represented in a domain structure; a virtual table module for receiving a query, the query indicating the virtual table, selecting one or more columns of the virtual table, and specifying one or more search parameters for the query; a query translation module for translating the received query into a set of data model queries for searching the data model, using the one or more selected columns of the virtual table and the one or more specified search parameters and the virtual table definition; a search module for searching one or more compressed tokenized data segments stored in the data model based on the set of data model queries to produce data model query results; and a result processing module for processing the data model query results based on the selected one or more columns of the virtual table to produce a result set table comprising a schema column, a table column, a column column, a urowid column, and a value column and a plurality of rows corresponding to each urowid in the result set table. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. A computer program product, configured for execution on a computer device, and comprising computer executable instructions for causing the computer device to performed the following steps:
-
storing in a database a definition of a virtual table that is a view into a data model of the database represented in a domain structure; receiving a query by the database, the query indicating the virtual table, selecting one or more columns of the virtual table, and specifying one or more search parameters for the query; translating the received query into a set of data model queries for searching the data model, using the one or more selected columns of the virtual table and the one or more specified search parameters and the virtual table definition; searching one or more compressed tokenized data segments stored in the data model based on the set of data model queries to produce data model query results; and processing the data model query results based on the selected one or more columns of the virtual table to produce a result set table comprising a schema column, a table column, a column column, a urowid column, and a value column and a plurality of rows corresponding to each urowid in the result set table. - View Dependent Claims (21, 22, 23, 24, 25)
-
Specification