|
||||||||||
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(String pattern)
Called by the constructor of RegexTermEnum allowing
implementations to cache a compiled version of the regular
expression pattern. |
boolean |
match(String string)
|
String |
prefix()
A wise prefix implementation can reduce the term enumeration (and thus increase performance) of RegexQuery dramatically! |
Method Detail |
---|
void compile(String pattern)
RegexTermEnum
allowing
implementations to cache a compiled version of the regular
expression pattern.
pattern
- regular expression patternboolean match(String string)
string
-
compile(java.lang.String)
.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 |