|
||||||||||
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.
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. |
StemDir |
sd
Stemming dictionary. |
static int |
ST
Stemming flag. |
StopWords |
sw
Stopwords. |
ThesQuery |
th
Thesaurus. |
static int |
UC
Uppercase flag. |
static int |
WC
Wildcards flag. |
Constructor Summary | |
---|---|
FTOpt(Prop pr)
Constructor. |
Method Summary | |
---|---|
void |
comp(QueryContext ctx)
Compiles the full-text options. |
void |
init(FTOpt opt)
Compiles the full-text options, inheriting the options of the argument. |
boolean |
is(int f)
Returns the specified flag. |
boolean |
isSet(int f)
Returns if the specified flag has been set. |
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. |
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 StemDir sd
public StopWords sw
public ThesQuery th
public byte[] ln
Constructor Detail |
---|
public FTOpt(Prop pr)
pr
- database propertiesMethod Detail |
---|
public void init(FTOpt opt)
opt
- parent full-text optionspublic void comp(QueryContext ctx)
ctx
- query contextpublic void set(int f, boolean v)
f
- flag to be setv
- valuepublic boolean isSet(int f)
f
- flag index
public boolean is(int f)
f
- flag index
public void plan(Serializer ser) throws IOException
ExprInfo
plan
in class ExprInfo
ser
- serializer
IOException
- I/O exceptionpublic String toString()
toString
in class ExprInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |