Global query correlation attributes
First Claim
Patent Images
1. A computer-implemented method of providing query attributes comprising:
- specifying which of a plurality of correlation attributes are supported for a particular logical field of one or more logical fields;
for each particular field, specifying a correlation attribute definition for computing a value of the correlation attributes supported for the particular logical field, wherein the correlation attributes are configured to add query logic to a query generated from an abstract query defined by one or more logical fields;
determining that a span correlation criterion applies to logical fields of two conditions of the abstract query; and
building an expression to compute a difference between each value calculated by the correlation attribute definitions defined for the logical fields of the two conditions and corresponding to the span correlation criterion.
1 Assignment
0 Petitions
Accused Products
Abstract
A system, method and article of manufacture for accessing data are disclosed. In general, data access is facilitated by a query configured with a correlation criterion or criteria. The presence of the correlation criteria facilitates the introduction of additional correlation logic to be applied to conditions of the query. In general, correlation criteria are contemplated which support correlation of entities based on time, physical location and age, for example.
38 Citations
22 Claims
-
1. A computer-implemented method of providing query attributes comprising:
-
specifying which of a plurality of correlation attributes are supported for a particular logical field of one or more logical fields;
for each particular field, specifying a correlation attribute definition for computing a value of the correlation attributes supported for the particular logical field, wherein the correlation attributes are configured to add query logic to a query generated from an abstract query defined by one or more logical fields;
determining that a span correlation criterion applies to logical fields of two conditions of the abstract query; and
building an expression to compute a difference between each value calculated by the correlation attribute definitions defined for the logical fields of the two conditions and corresponding to the span correlation criterion. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-implemented method of providing attributes configured to add query logic to a query generated from an abstract query defined by one or more logical fields, the method comprising:
-
for each of a plurality of logical fields, specifying which of a plurality of correlation attributes are supported for a particular logical field;
for each of a plurality of logical fields, specifying a correlation attribute definition for computing a value of the correlation attributes supported for the particular logical field;
wherein at least two of the correlation attribute definitions for computing a value of a particular correlation attribute, specified for two different logical fields, are different;
determining that a span correlation criterion applies to logical fields of two conditions of the abstract query; and
building an expression to compute a difference between each value calculated by the correlation attribute definitions defined for the logical fields and corresponding to the span correlation criterion. - View Dependent Claims (6, 7)
-
-
8. A computer-implemented method of adding query logic to a query generated from an abstract query defined by one or more logical fields, the method comprising:
for each condition of the abstract query;
building an executable query contribution, wherein building the executable query contribution comprises building a query predicate according to an access method defined for a logical field of the condition and specifying a method of accessing physical data; and
determining whether the abstract query includes at least one of a plurality of correlation criterions which applies to the logical field of the condition, wherein each of the plurality of correlation criterion have a corresponding correlation attribute definition for calculating a value, and wherein at least two different corresponding correlation attribute definitions are defined for a given correlation criterion. - View Dependent Claims (9, 10, 11)
-
12. A tangible computer readable medium containing a program which, when executed, performs an operation of adding query logic to a query generated from an abstract query defined by one or more logical fields, the operation comprising:
for each condition of the abstract query;
building an executable query contribution, wherein building the executable query contribution comorises building a query predicate according to an access method defined for a logical field of the condition and specifying a method of accessing physical data; and
determining whether the abstract query includes at least one of a plurality of correlation criterions which applies to the logical field of the condition, wherein each of the plurality of correlation criterion have a corresponding correlation attribute definition for calculating a value, and wherein at least two different corresponding correlation attribute definitions are defined for a given correlation criterion. - View Dependent Claims (13, 14, 15)
-
16. A computer system, comprising:
-
a query specification comprising a plurality of logical fields for defining abstract queries;
at least one correlation attribute definition specified for at least two of the plurality of logical fields, wherein each resoective correlation attribute definition comprises a name and a definition for calculating a value of the correlation attribute correlation attribute definition; and
a runtime component executable to perform an operation in response to receiving an abstract query issued against the data, wherein the abstract query is defined according to the query specification and is configured with the at least two logical fields for which the respective at least one correlation attribute definition is specified, the operation comprising;
determining that a span correlation criterion applies to logical fields of two conditions of the abstract query, the logical fields comprising the at least two logical fields;
building an exoression to compute a difference between each value calculated by the correlation attribute definitions defined for the logical fields and corresponding to the span correlation criterion; and
calculating the correlation attribute value for the at least two logical fields. - View Dependent Claims (17, 18)
-
-
19. A tangible computer-readable medium, comprising information stored thereon, the information comprising:
-
a query specification comprising a plurality of logical fields for defining abstract queries;
a plurality of correlation attribute definitions specified for at least two of the plurality of logical fields, wherein each correlation attribute definition comprises a name and a definition for calculating a value of the correlation attribute correlation attribute definition; and
a runtime component executable to perform an operation in response to receiving an abstract query issued against the data, wherein the abstract query is defined according to the query specification and is configured with the at least two logical fields for which respective ones of the correlation attribute definitions are specified, the operation comprising;
determining that a span correlation criterion applies to logical fields of two conditions of the abstract query, the logical fields comprising the at least two logical fields;
building an expression to compute a difference between each value calculated by the correlation attribute definitions defined for the logical fields and corresponding to the span correlation criterion; and
calculating the correlation attribute value for the logical fields. - View Dependent Claims (20, 21)
-
-
22. A computer-implemented method of translating an abstract query into a query executable by a database management system, the method comprising:
-
receiving an abstract query, the abstract query comprising at least two conditions and at least one correlation criterion, the correlation criterion being a span criterion applying to logical fields of the two conditions, wherein the at least one correlation criterion is referenced in a definition of the logical field and has a corresponding correlation attribute definition for calculating a correlation attribute value to be applied to the respective logical field of the respective condition, wherein the definitions of the logical fields are defined in a data abstraction repository layer and each comprises an access method specifying a method of accessing physical data;
building an expression to compute a difference between each value calculated by the correlation attribute definitions defined for the logical fields and corresponding to the span correlation criterion;
translating the abstract query into a query executable by a database management system;
issuing the executable query against the database management system; and
receiving the result from the database management system.
-
Specification