Class RegexStringComparator.JoniRegexEngine

java.lang.Object
org.apache.hadoop.hbase.filter.RegexStringComparator.JoniRegexEngine
All Implemented Interfaces:
RegexStringComparator.Engine
Enclosing class:
RegexStringComparator

Implementation of the Engine interface using Jruby's joni regex engine.

This engine operates on byte arrays directly so is expected to be more GC friendly, and reportedly is twice as fast as Java's Pattern engine.

NOTE: Only the Pattern flags CASE_INSENSITIVE, DOTALL, and MULTILINE are supported.