Index processing using transformed values
First Claim
1. A method of tracking a plurality of objects being stored in a computer system, comprising:
- retrieving a hint comprising at least one hash value from an index of objects stored in the computer system;
obtaining a hash value from the hint;
transforming the hash value to contain instances of the flag;
wherein transforming the hash value includes identifying instances of a mapped value in the hash valuewherein transforming the hash value includes replacing an instance of the mapped value with an instance of the flag;
wherein transforming the hash value includes encoding the hash value into another base;
wherein encoding the hash value into another base includes encoding the hash value into another higher base;
wherein encoding the hash value into another base includes reducing space for storing the encoded hash value;
wherein reducing space for storing the encoded hash value includes dropping a portion not used for storing the encoded hash value;
wherein dropping the portion not used for storing the encoded hash value includes dropping a most significant byte; and
determining from the hash value whether an object has been stored in the computer system; and
utilizing the flag in the index as an indicator to indicate that an endpoint has been reached.
9 Assignments
0 Petitions
Accused Products
Abstract
A method, article of manufacture, and apparatus for tracking a plurality of objects being stored are disclosed. In an embodiment, this comprises computing the hash value of the name of each object being stored, transforming the hash value into a plurality of bytes such that none of the bytes has the value of a flag used by the system, concatenating the transformed hashed values into a hint, and storing the hint in an index. In an embodiment, bytes having the flag value are mapped to an unused value during the transformation. In an embodiment, the hint is retrieved from the index and hashed values are transformed back. Mapped values are restored to the flag values. This allows use of the hint with a system that uses a flag in the index as an indicator; for example, to indicate that an endpoint has been reached.
-
Citations
7 Claims
-
1. A method of tracking a plurality of objects being stored in a computer system, comprising:
-
retrieving a hint comprising at least one hash value from an index of objects stored in the computer system; obtaining a hash value from the hint; transforming the hash value to contain instances of the flag; wherein transforming the hash value includes identifying instances of a mapped value in the hash value wherein transforming the hash value includes replacing an instance of the mapped value with an instance of the flag; wherein transforming the hash value includes encoding the hash value into another base; wherein encoding the hash value into another base includes encoding the hash value into another higher base; wherein encoding the hash value into another base includes reducing space for storing the encoded hash value; wherein reducing space for storing the encoded hash value includes dropping a portion not used for storing the encoded hash value; wherein dropping the portion not used for storing the encoded hash value includes dropping a most significant byte; and determining from the hash value whether an object has been stored in the computer system; and utilizing the flag in the index as an indicator to indicate that an endpoint has been reached. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for tracking a plurality of objects being stored in a computer system, comprising a processor configured to:
-
retrieve a hint comprising at least one hash value from an index of objects stored in the computer system; obtaining a hash value from the hint; transforming the hash value to contain instances of the flag; wherein transforming the hash value includes identifying instances of a mapped value in the hash value; wherein transforming the hash value includes replacing an instance of the mapped value with an instance of the flag; wherein transforming the hash value includes encoding the hash value into another base; wherein encoding the hash value into another base includes encoding the hash value into another higher base; wherein encoding the hash value into another base includes reducing space for storing the encoded hash value; wherein reducing space for storing the encoded hash value includes dropping a portion not used for storing the encoded hash value; wherein dropping the portion not used for storing the encoded hash value includes dropping a most significant byte; and determining from the hash value whether an object has been stored in the computer system; and utilizing the flag in the index as an indicator to indicate that an endpoint has been reached.
-
-
7. A computer program product for tracking a plurality of objects being stored in a computer system, comprising a computer readable storage medium having machine readable code embodied therein for:
-
retrieving a hint comprising at least one hash value from an index of objects stored in the computer system; obtaining a hash value from the hint; transforming the hash value to contain instances of the flag; wherein transforming the hash value includes identifying instances of a mapped value in the hash value; wherein transforming the hash value includes replacing an instance of the mapped value with an instance of the flag; wherein transforming the hash value includes encoding the hash value into another base; wherein encoding the hash value into another base includes encoding the hash value into another higher base; wherein encoding the hash value into another base includes reducing space for storing the encoded hash value; wherein reducing space for storing the encoded hash value includes dropping a portion not used for storing the encoded hash value; wherein dropping the portion not used for storing the encoded hash value includes dropping a most significant byte; and determining from the hash value whether an object has been stored in the system; and utilizing the flag in the index as an indicator to indicate that an endpoint has been reached.
-
Specification