Custom Query Parameters in a Database System
First Claim
Patent Images
1. A method comprising:
- storing, by a computing device, records for a set of entities that are generated using an input parameter that is not based on a date;
receiving, by the computing device, a query that includes one or more date parameters, the query for aggregating a value;
upon receiving the query, performing;
selecting, by the computing device, a set of records from the stored records that are valid based on comparing first date information determined from the one or more date parameters and second date information from the records;
performing, by the computing device, an aggregation calculation of the value for the set of records to generate a query result; and
returning, by the computing device, the query result in response to the query.
1 Assignment
0 Petitions
Accused Products
Abstract
A method stores records for a set of entities that are generated using an input parameter that is not based on a date. A query is received that includes one or more date parameters, the query for aggregating a value. Upon receiving the query, the method performs: selecting a set of records from the stored records that are valid based on comparing first date information determined from the one or more date parameters and second date information from the records; performing an aggregation calculation of the value for the set of records to generate a query result; and returning the query result in response to the query.
18 Citations
20 Claims
-
1. A method comprising:
-
storing, by a computing device, records for a set of entities that are generated using an input parameter that is not based on a date; receiving, by the computing device, a query that includes one or more date parameters, the query for aggregating a value; upon receiving the query, performing; selecting, by the computing device, a set of records from the stored records that are valid based on comparing first date information determined from the one or more date parameters and second date information from the records; performing, by the computing device, an aggregation calculation of the value for the set of records to generate a query result; and returning, by the computing device, the query result in response to the query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A non-transitory computer-readable storage medium containing instructions, that when executed, control a computer system to be configured for:
-
storing records for a set of entities that are generated using an input parameter that is not based on a date; receiving a query that includes one or more date parameters, the query for aggregating a value; upon receiving the query, performing; selecting a set of records from the stored records that are valid based on comparing first date information determined from the one or more date parameters and second date information from the records; performing an aggregation calculation of the value for the set of records to generate a query result; and returning the query result in response to the query. - View Dependent Claims (13, 14, 15)
-
-
16. A method comprising:
-
storing, by a computing device, records for a set of entities that are based on an input parameter that is not based on a date, wherein each record includes a first from date and a first to date, the first from date being a first date from which a record is valid for the input parameter and the first to date being a second date to which a record is valid for the input parameter; receiving, by the computing device, a query that includes one or more date parameters, the query for aggregating a value; upon receiving the query, performing; selecting, by the computing device, a set of records from the stored records that are valid based on comparing one or more of a second from date and a second to date that is determined from the one or more date parameters and one or more of the first from date and first to date from the records, the second from date being a third date to start the aggregation and the second to date being a third date to end the aggregation; performing, by the computing device, an aggregation calculation of the value for the set of records to generate a query result; and returning, by the computing device, the query result in response to the query. - View Dependent Claims (17, 18, 19, 20)
-
Specification