×

Method, system, and computer program product for computing histogram aggregations

  • US 5,960,435 A
  • Filed: 03/11/1997
  • Issued: 09/28/1999
  • Est. Priority Date: 03/11/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A system for transforming a stream of sorted input data records into an aggregate record, each input data record including at least one group-by field, at least one field to be binned, and at least one value field, and each aggregate record including at least one group-by field and an aggregation result field, wherein the input data record group-by field stores data to be matched against data stored in the aggregate record group-by field, wherein the input data records are sorted by the data in the group-by field, wherein the value field stores data to be aggregated, and wherein the aggregation result field includes at least one location and stores aggregated data in a histogram format, the system comprising:

  • a binning module that, for each input data record in the stream, evaluates data in the input data record field to be binned to determine a bin-index value, wherein the bin-index value identifies locations of the aggregation result field the value field data should be aggregated into; and

    a histogram aggregation module that, for each input data record in the stream, aggregates the value field data into the aggregation result field location identified by the bin-index value, when data in the input data record group-by field matches data in the aggregate record group-by field.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×