Improves performance by avoiding parse tree creation (#31) Improves the performance by evaluating and parsing an expression at the same time and avoiding creation of a parse tree. Also some other steps were taken to avoid other object allocations. Seeing really good performance with these changes when running the benchmark.
Java library that provides the same functionality, semantics, and syntax as the Apache Accumulo ColumnVisibility and VisibilityEvaluator classes. This functionality is provided in a standalone java library that has no dependencies (for example no Hadoop, Zookeeper, Thrift, etc dependencies).
For a conceptual overview of what an access expression is, see the specification document. See the getting started guide for an example of how to use this java library.
The following types constitute the public API of this library. All other types are package private and are not part of the public API.
This project includes a JMH Benchmark. To run it:
mvn clean package mvn exec:exec -Dexec.executable="java" -Dexec.classpathScope=test -Dexec.args="-classpath %classpath org.apache.accumulo.access.AccessExpressionBenchmark"