|
||||||||||
| 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.expr.Expr
org.basex.query.ft.FTExpr
org.basex.query.ft.FTPos
public final class FTPos
FTSelect expression.
| Nested Class Summary | |
|---|---|
static class |
FTPos.FTUnit
Units. |
| Field Summary | |
|---|---|
boolean |
content
Entire content flag. |
boolean |
different
Different flag. |
Expr[] |
dist
Distance occurrences. |
FTPos.FTUnit |
dunit
Distance unit. |
boolean |
end
End flag. |
FTTokenizer |
ft
Input token. |
boolean |
ordered
Ordered flag. |
boolean |
same
Same flag. |
FTPos.FTUnit |
sdunit
Same/different unit. |
boolean |
start
Start flag. |
TokenList |
term
Term list. |
Expr |
weight
Weight. |
Expr |
window
Window. |
FTPos.FTUnit |
wunit
Window unit. |
| Fields inherited from class org.basex.query.ft.FTExpr |
|---|
expr |
| Constructor Summary | |
|---|---|
FTPos(FTExpr e)
Constructor. |
|
| Method Summary | |
|---|---|
FTExpr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
void |
indexAccessible(QueryContext ctx,
IndexContext ic)
Checks if an index can be used for query evaluation. |
FTExpr |
indexEquivalent(QueryContext ctx,
IndexContext ic)
Returns an equivalent expression which accesses an index structure. |
FTNodeIter |
iter(QueryContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
boolean |
standard()
Returns true if no position filters are defined. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.ft.FTExpr |
|---|
color, remove, returned, uses |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, atomic, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, removable, sameAs, size, test |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
info, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean ordered
public boolean start
public boolean end
public boolean content
public boolean same
public boolean different
public FTPos.FTUnit dunit
public FTPos.FTUnit wunit
public FTPos.FTUnit sdunit
public TokenList term
public FTTokenizer ft
public Expr window
public Expr[] dist
public Expr weight
| Constructor Detail |
|---|
public FTPos(FTExpr e)
e - expression| Method Detail |
|---|
public FTExpr comp(QueryContext ctx)
throws QueryException
Expr
comp in class FTExprctx - query context
QueryException - evaluation exception
public FTNodeIter iter(QueryContext ctx)
throws QueryException
ExprExpr.atomic(org.basex.query.QueryContext) must be implemented.
iter in class FTExprctx - query context
QueryException - evaluation exceptionpublic boolean standard()
public void indexAccessible(QueryContext ctx,
IndexContext ic)
throws QueryException
Expr
indexAccessible in class Exprctx - query contextic - index context
QueryException - Exception
public FTExpr indexEquivalent(QueryContext ctx,
IndexContext ic)
throws QueryException
ExprExpr.indexAccessible(org.basex.query.QueryContext, org.basex.query.IndexContext) is implemented for an
expression.
indexEquivalent in class FTExprctx - query contextic - index context
QueryException - Exception
public void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class FTExprser - 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 | |||||||||