Sitaraman,

Check out the ColumnVisibility[1] class. Some effort is taken to ensure that ColumnVisibilities are normalized yet logically-equivalent.

As far as compression goes, this would be handled at the file level (compress a sorted collection of Keys) instead of a the ColumnVisibility level. Check out RelativeKey [2] for some of that logic.

- Josh

[1] https://github.com/apache/accumulo/blob/1.5.0/core/src/main/java/org/apache/accumulo/core/security/ColumnVisibility.java [2] https://github.com/apache/accumulo/blob/1.5.0/core/src/main/java/org/apache/accumulo/core/file/rfile/RelativeKey.java

On 2/17/14, 7:30 PM, Sitaraman Vilayannur wrote:
Hi,
   How are the column visibility elements stored in Accumulo. Is there a
kind of compression that is used to save space or are all the elements for
each key value paired stored as is.
   A pointer to the region of the code that i should look at for the
implementation will also be helpful.
Thanks
Sitaraman

Reply via email to