|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.ft.FTOpt
public final class FTOpt
This class contains all ftcontains options. It can be used by different query implementations.
| Nested Class Summary | |
|---|---|
static class |
FTOpt.FTMode
Words mode. |
| Field Summary | |
|---|---|
static int |
CS
Sensitive flag. |
static int |
DC
Diacritics flag. |
static int |
FZ
Fuzzy flag. |
static int |
LC
Lowercase flag. |
byte[] |
ln
Language. |
FTTokenizer |
qu
Fulltext tokenizer. |
Map<byte[]> |
sd
Stemming dictionary. |
static int |
ST
Stemming flag. |
Set |
sw
Stopwords. |
static int |
TS
Thesaurus flag. |
static int |
UC
Uppercase flag. |
static int |
WC
Wildcards flag. |
| Constructor Summary | |
|---|---|
FTOpt()
|
|
| Method Summary | |
|---|---|
void |
compile(FTOpt opt)
Compiles the fulltext options, inheriting the parent options. |
boolean |
is(int f)
Returns the specified flag. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
void |
set(int f,
boolean v)
Sets the specified flag. |
boolean |
stemming(IO fl)
Processes a stemming dictionary. |
boolean |
stopwords(IO fl,
boolean u,
boolean e)
Processes stopwords from the specified file. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.ExprInfo |
|---|
color, info, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CS
public static final int LC
public static final int UC
public static final int DC
public static final int ST
public static final int WC
public static final int FZ
public static final int TS
public Map<byte[]> sd
public Set sw
public byte[] ln
public final FTTokenizer qu
| Constructor Detail |
|---|
public FTOpt()
| Method Detail |
|---|
public void compile(FTOpt opt)
opt - parent fulltext options
public void set(int f,
boolean v)
f - flag to be setv - valuepublic boolean is(int f)
f - flag index
public boolean stopwords(IO fl,
boolean u,
boolean e)
fl - fileu - union flage - except flag
public boolean stemming(IO fl)
fl - file
public void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class ExprInfoser - serializer
java.io.IOException - exceptionpublic java.lang.String toString()
toString in class ExprInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||