Method, system, program, and data structure for cleaning a database table using a look-up table
First Claim
1. A method for performing a clean operation on an input table having an input data table name and at least one input table column including a plurality of records, comprising:
- receiving at least one rule definition, wherein the at least one rule definition indicates a look-up column including a plurality of entries and a clean operation, wherein the at least one rule definition is associated with at least one rule table column including a find criteria and replacement value;
for each record in the input table column, determining whether the record matches one entry in the at least one look-up column; and
performing the clean operation indicated in the rule definition on each record that matches one entry in the at least one look-up column by processing the rule table column for the at least one rule definition, wherein the rule table columns include the find criteria and replacement value for the rule definition.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a method, system, program, and data structure for performing a clean operation on an input table. An input data table name indicates the input table. A first column in a table including a plurality of entries and at least one rule definition are processed. Each rule definition indicates a look-up column including a plurality of entries and a clean operation. A determination is made, for each record in the input table column, whether the record matches one entry in the look-up column. If so, the clean operation indicated in the rule definition is performed on each record that matches one entry in the look-up column.
-
Citations
39 Claims
-
1. A method for performing a clean operation on an input table having an input data table name and at least one input table column including a plurality of records, comprising:
-
receiving at least one rule definition, wherein the at least one rule definition indicates a look-up column including a plurality of entries and a clean operation, wherein the at least one rule definition is associated with at least one rule table column including a find criteria and replacement value;
for each record in the input table column, determining whether the record matches one entry in the at least one look-up column; and
performing the clean operation indicated in the rule definition on each record that matches one entry in the at least one look-up column by processing the rule table column for the at least one rule definition, wherein the rule table columns include the find criteria and replacement value for the rule definition. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for performing a clean operation on an input table having an input data table name and at least one input table column including a plurality of records, comprising:
-
receiving at least one rule definition, wherein each rule definition indicates a look-up column including a plurality of entries and a clean operation and a find criteria and a replacement value;
for each record in the input table column, determining whether the record matches one entry in the look-up column; and
performing the clean operation indicated in the rule definition on each record that matches one entry in the look-up column by;
(i) determining whether each record that matches one entry in the look-up table matches the find criteria; and
(ii) inserting the replacement value into each record in the input data column that matches the find criteria, wherein subsequent applications of additional rule definitions applied to the same record operate on replacement values inserted in the record during previously applied rule definitions. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A method for performing a clean operation on an input table having an input data table name and at least one input table column including a plurality of records composing:
-
receiving at least one rule definition, wherein each rule definition indicates a look-up column including a plurality of entries and a clean operation, wherein each rule definition is associated with one rule table including find criteria and replacement value for each record in the input table column, determining whether the record matches one entry in the look-up column; and
performing the clean operation indicated in the rule definition on each record that matches one entry in the look-un column processing a rule table column for each rule definition, wherein the columns in the rule table include the find criteria and replacement value for the rule definition.
-
-
14. A system for performing a clean operation on an input table having an input data table name and at least one input table column including a plurality of entries, comprising:
-
means for receiving at least one rule definition, wherein at least one rule definition indicates a look-up column including a plurality of entries and a clean operation, wherein the at least one rule definition is associated with at least one rule table column including a find criteria and replacement value;
means for determining, for each record in the input table column, whether the record matches one entry in the look-up column; and
means for performing the clean operation indicated in the at least one rule definition on each record that matches one entry in the look-up column by processing the rule table column for the at least one rule definition, wherein the rule table columns include the find criteria and replacement value for the rule definition. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
-
21. A system for performing a clean operation on an input table having an input data table name and at least one input table column including a plurality of entries, comprising:
-
means for receiving at least one rule definition, wherein each rule definition indicates a look-up column including a plurality of entries and a clean operation, wherein each rule definition is associated with one rule table including find criteria and replacement value means for determining, for each record in the input table column, whether the record matches one entry the look-up column; and
means for performing the clean operation indicated in the rule definition on each record that matches one entry in the look-up column processing a rule table column for each rule definition, wherein the columns in the rule table include the find criteria and replacement value for the rule definition.
-
-
22. A system for performing a clean operation on an input table having an input data table name and at least one input table column including a plurality of entries, comprising:
-
means for receiving at least one rule definition, wherein each rule definition indicates a look-up column including a plurality of entries and a clean operation and includes a find criteria and a replacement value;
means for determining, for each record in the input table column, whether the record matches one entry in the look-up column; and
means for performing the clean operation indicated in the rule definition on each record that matches one entry in the look-up column by;
(i) determining whether each record that matches one entry in the look-up table matches the find criteria; and
(ii) inserting the replacement value into each record in the input data column that matches the find criteria, wherein subsequent applications of additional rule definitions applied to the same record operate on replacement values inserted in the record during previously applied rule definitions. - View Dependent Claims (23, 24, 25, 26)
-
-
27. An article of manufacture for performing a clean operation on an input table in a database having an input data table name and at least one input table column including a plurality of records, the article of manufacture comprising computer usable media including at least one computer program embedded therein that causes the computer to perform:
-
receiving at least one rule definition, wherein the at least one rule definition indicates a look-up column including a plurality of entries and a clean operation, wherein the at least one rule definition is associated with at least one rule table column including a find criteria and replacement value;
for each record in the input table column, determining whether the record matches one entry in the look-up column; and
performing the clean operation indicated in the rule definition on each record that matches one entry in the look-up column by processing the rule table column for the at least one rule definition, wherein the rule table columns include the find criteria and replacement value for the rule definition. - View Dependent Claims (28, 29, 30, 31, 32, 33)
-
-
34. An article of manufacture for performing a clean operation on an input table in a database having an input data table name and at least one input table column including a plurality of records, the article of manufacture comprising computer usable media including at least one computer program embedded therein that causes the computer to perform:
-
receiving at least one rule definition, wherein each rule definition indicates a look-up column including a plurality of entries and a clean operation and includes a find criteria and a replacement value;
for each record in the input table column, determining whether the record matches one entry in the look-up column; and
performing the clean operation indicated in the rule definition on each record that matches one entry in the look-up column by;
(i) determining whether each record that matches one entry in the look-up table matches the find criteria; and
(ii) inserting the replacement value into each record in the input data column that matches the find criteria, wherein subsequent applications of additional rule definitions applied to the same record operate on replacement values inserted in the record during previously applied rule definitions. - View Dependent Claims (35, 36, 37, 38)
-
-
39. An article of manufacture for performing a clean operation on input table in a database having an input data table name and at least one input table column including a plurality of records, the article of manufacture comprising computer usable media including at least one computer program embedded therein that causes the computer to perform:
-
receiving at least one rule definition, wherein each rule definition indicates a look-up column including a plurality of entries and a clean operation, wherein each rule definition is associated with one rule table including find criteria and replacement value for each record in the input table column, determining whether the record matches one entry in the look-up column; and
performing the clean operation indicated in the rule definition on each record that matches one entry in the look-up column by processing a rule table column for each rule definition, wherein the columns in the rule table include the find criteria and replacement value for the rule definition.
-
Specification