|
||||||||||
| 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.xpath.expr.Expr
org.basex.query.xpath.expr.Arr
org.basex.query.xpath.expr.FTContains
public final class FTContains
FTContains Expression; used for fulltext operations. Used for sequential processing.
| Field Summary |
|---|
| Fields inherited from class org.basex.query.xpath.expr.Arr |
|---|
expr |
| Constructor Summary | |
|---|---|
FTContains(Expr e1,
Expr e2,
FTOpt o,
boolean indexuse)
Constructor. |
|
FTContains(Expr e1,
FTArrayExpr e2)
Constructor. |
|
| Method Summary | |
|---|---|
Expr |
comp(XPContext ctx)
Optimizes the expression. |
Item |
eval(XPContext ctx)
Evaluates the expression with the specified context set. |
Expr |
indexEquivalent(XPContext ctx,
Step curr,
boolean seq)
Returns an equivalent expression which accesses an index structure. |
int |
indexSizes(XPContext ctx,
Step curr,
int min)
Returns the number of results if this query is evaluated by an index. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xpath.expr.Arr |
|---|
sameAs, usesPos, usesSize |
| Methods inherited from class org.basex.query.xpath.expr.Expr |
|---|
returnedValue |
| 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 |
| Constructor Detail |
|---|
public FTContains(Expr e1,
FTArrayExpr e2)
e1 - first expressione2 - second expression to compare with first
public FTContains(Expr e1,
Expr e2,
FTOpt o,
boolean indexuse)
e1 - first expressione2 - second expression to compare with firsto - fulltext optionsindexuse - flag for index use| Method Detail |
|---|
public Expr comp(XPContext ctx)
throws QueryException
Expr
comp in class Arrctx - expression context
QueryException - evaluation exception
public Item eval(XPContext ctx)
throws QueryException
Expr
eval in class Exprctx - query context
QueryException - evaluation exception
public Expr indexEquivalent(XPContext ctx,
Step curr,
boolean seq)
throws QueryException
Expr
indexEquivalent in class Exprctx - rootcurr - location stepseq - flag for sequential evaluation
QueryException - evaluation exception
public int indexSizes(XPContext ctx,
Step curr,
int min)
ExprInteger.MAX_VALUE is returned, no index access is possible.
indexSizes in class Exprctx - rootcurr - the current location stepmin - current minimum index hits
public java.lang.String toString()
toString in class ExprInfo
public void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class Arrser - serializer
java.io.IOException - exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||