|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RegexCapabilities
Defines basic operations needed by RegexQuery for a regular
expression implementation.
| Method Summary | |
|---|---|
void |
compile(java.lang.String pattern)
Called by the constructor of RegexTermEnum allowing
implementations to cache a compiled version of the regular
expression pattern. |
boolean |
match(java.lang.String string)
|
java.lang.String |
prefix()
A wise prefix implementation can reduce the term enumeration (and thus increase performance) of RegexQuery dramatically! |
| Method Detail |
|---|
void compile(java.lang.String pattern)
RegexTermEnum allowing
implementations to cache a compiled version of the regular
expression pattern.
pattern - regular expression patternboolean match(java.lang.String string)
string -
compile(java.lang.String).java.lang.String prefix()
compile(java.lang.String). May return null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||