|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.ft.FTWildcard
public final class FTWildcard
Wildcard expression.
Constructor Summary | |
---|---|
FTWildcard(byte[] qu)
Constructor. |
Method Summary | |
---|---|
boolean |
match(byte[] t)
Checks if the wildcard can match a sub-string in a string. |
int |
max()
Returns the maximum length of a potential match. |
boolean |
parse()
Parses and constructs a new wildcard expression. |
byte[] |
prefix()
Returns the wildcard prefix, which is the same for all matches. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FTWildcard(byte[] qu)
qu
- queryMethod Detail |
---|
public boolean parse()
public int max()
true
if a match is foundpublic byte[] prefix()
public boolean match(byte[] t)
t
- token to search for match
true
if a match is found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |