Diff - Diff encoding expands upon Prefix encoding. Obviously if the keys tend to have nothing in common, Prefix will not provide much benefit. The second key's prefix length is 23, since they have the first 23 characters in common. Assuming the first key here is totally different from the key before, its prefix length is 0. In Prefix encoding, an extra column is added which holds the length of the prefix shared between the current key and the previous key. For instance, one key might be RowKey:Family:Qualifier0 and the next key might be RowKey:Family:Qualifier1. Specifically, keys often share a common prefix and only differ near the end.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |