Fast evaluation of predicates against compressed data
AssigneeInternational Business Machines Corporation
InventorRobert W. Lyle
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorRobert W. Lyle
Estimating the term…
Evaluating LIKE predicates against compressed data. An alphabet, a LIKE predicate, a compressed string, and a compression dictionary for the compressed string are received. Entries in the compression dictionary include a character string and an associated token. The LIKE predicate is converted to an equivalent pattern matching form, involving a search pattern of length m. For each character of the alphabet that appears in a string associated with a token, a mask of predetermined length k is created. For each entry in the compression dictionary a cumulative mask of length k is computed. A bit vector of length k is initialized, based on the search pattern. Successive tokens in the compressed string are processed using a logical shift of the bit vector and a bitwise operation of the bit vector with the cumulative mask associated with the token.
A computer-implemented method for evaluating LIKE predicates against compressed data, the method comprising:
A computer system for evaluating LIKE predicates against compressed data, the computer system comprising:
A computer program product for evaluating LIKE predicates against compressed data, the computer program product comprising:
Dependencies are inferred from the claim text.