|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.expr.Expr
org.basex.query.xquery.expr.FTSelect
public final class FTSelect
FTSelect expression.
| Field Summary | |
|---|---|
boolean |
content
Entire content flag. |
boolean |
different
Different flag. |
Expr[] |
dist
Distance occurrences. |
int |
dunit
Distance unit. |
boolean |
end
End flag. |
Expr |
expr
Expression. |
boolean |
ordered
Ordered flag. |
static int |
PARAGRAPHS
Paragraphs unit. |
IntList[] |
pos
Position list. |
boolean |
same
Same flag. |
int |
sdunit
Same/different unit. |
static int |
SENTENCES
Sentences unit. |
int |
size
Number of entries. |
boolean |
start
Start flag. |
TokenList |
term
Term list. |
Expr |
weight
Weight. |
Expr |
window
Window. |
static int |
WORDS
Word unit. |
int |
wunit
Window unit. |
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Constructor Summary | |
|---|---|
FTSelect(Expr e)
Constructor. |
|
| Method Summary | |
|---|---|
FTOptions |
clone()
|
Expr |
comp(XQContext ctx)
Optimizes and compiles the expression tree. |
Item |
eval(XQContext ctx)
Evaluates the expression and returns the resulting item. |
java.lang.String |
info()
Returns a string description of the expression. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
cls, d, e, i, n, node, s, size, str, u |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean content
public boolean different
public Expr[] dist
public int dunit
public boolean end
public Expr expr
public boolean ordered
public static final int PARAGRAPHS
public IntList[] pos
public boolean same
public int sdunit
public static final int SENTENCES
public int size
public boolean start
public TokenList term
public Expr weight
public Expr window
public static final int WORDS
public int wunit
| Constructor Detail |
|---|
public FTSelect(Expr e)
e - expression| Method Detail |
|---|
public FTOptions clone()
clone in class java.lang.Object
public Expr comp(XQContext ctx)
throws XQException
Expr
comp in class Exprctx - query context
XQException - evaluation exception
public Item eval(XQContext ctx)
throws XQException
Expr
eval in class Exprctx - query context
XQException - evaluation exceptionpublic java.lang.String info()
ExprExpr.toString() method, the current expressions aren't included
in the output.
info in class Exprpublic java.lang.String toString()
toString in class Expr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||