|
||||||||||
| 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.FTContains
public class FTContains
FTContains expression.
| Field Summary | |
|---|---|
Expr |
expr
Expression. |
FTTokenizer |
ft
Fulltext parser. |
FTExpr |
ftexpr
Fulltext expression. |
| Constructor Summary | |
|---|---|
FTContains(Expr e,
FTExpr fte)
Constructor. |
|
| Method Summary | |
|---|---|
Bln |
atomic(QueryContext ctx)
Evaluates the expression and returns the resulting item or a null reference. |
java.lang.String |
color()
Returns a string description of the expression. |
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
void |
indexAccessible(QueryContext ctx,
IndexContext ic)
Checks if an index can be used for query evaluation. |
Expr |
indexEquivalent(QueryContext ctx,
IndexContext ic)
Returns an equivalent expression which accesses an index structure. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
Expr |
remove(Var v)
Removes the specified variable in a sub expression. |
Return |
returned(QueryContext ctx)
Indicates the return type of an expression. |
java.lang.String |
toString()
|
boolean |
uses(Expr.Use use,
QueryContext ctx)
Indicates if an expression uses the specified type. |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, iter, 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 Expr expr
public FTExpr ftexpr
public FTTokenizer ft
| Constructor Detail |
|---|
public FTContains(Expr e,
FTExpr fte)
e - expressionfte - fulltext expression| Method Detail |
|---|
public Expr comp(QueryContext ctx)
throws QueryException
Expr
comp in class Exprctx - query context
QueryException - evaluation exception
public Bln atomic(QueryContext ctx)
throws QueryException
ExprExpr.iter(org.basex.query.QueryContext) must be implemented.
atomic in class Exprctx - query context
QueryException - query exception
public void indexAccessible(QueryContext ctx,
IndexContext ic)
throws QueryException
Expr
indexAccessible in class Exprctx - query contextic - index context
QueryException - Exception
public Expr 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 Exprctx - query contextic - index context
QueryException - Exception
public boolean uses(Expr.Use use,
QueryContext ctx)
Exprtrue is returned by default and thus assumed as "worst-case".
uses in class Expruse - use type to be checkedctx - query context
public Expr remove(Var v)
Expr
remove in class Exprv - variable to be removed
public Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public java.lang.String color()
ExprInfoExprInfo.toString() method, the current expressions aren't included
in the output.
color in class ExprInfo
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 | |||||||||