|
||||||||||
| 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
|---|
Expr.Use |
| 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. |
String |
color()
Returns a color string for the expression. |
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
boolean |
indexAccessible(IndexContext ic)
Checks if an index can be used for query evaluation. |
Expr |
indexEquivalent(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. |
boolean |
removable(Var v,
QueryContext ctx)
Checks if the specified variable is removable. |
Expr |
remove(Var v)
Removes the specified variable in a sub expression. |
Return |
returned(QueryContext ctx)
Indicates the return type of an expression. |
String |
toString()
|
boolean |
uses(Expr.Use u,
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, sameAs, size, test, v |
| 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 |
| Constructor Detail |
|---|
public FTContains(Expr e,
FTExpr fte)
e - expressionfte - full-text expression| Method Detail |
|---|
public final Expr comp(QueryContext ctx)
throws QueryException
Expr
comp in class Exprctx - query context
QueryException - query exception
public Bln atomic(QueryContext ctx)
throws QueryException
Exprnull reference.
If this method is not overwritten, Expr.iter(org.basex.query.QueryContext) must be implemented.
atomic in class Exprctx - query context
QueryException - query exception
public final boolean indexAccessible(IndexContext ic)
throws QueryException
Expr
indexAccessible in class Expric - index context
QueryException - query exception
public final Expr indexEquivalent(IndexContext ic)
throws QueryException
ExprExpr.indexAccessible(org.basex.query.IndexContext) is implemented for an
expression.
indexEquivalent in class Expric - index context
QueryException - query exception
public final boolean uses(Expr.Use u,
QueryContext ctx)
Exprtrue is returned by default and thus assumed as "worst-case".
uses in class Expru - use type to be checkedctx - query context
public final boolean removable(Var v,
QueryContext ctx)
Expr
removable in class Exprv - variable to be removedctx - query context
public final Expr remove(Var v)
Expr
remove in class Exprv - variable to be removed
public final Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public final String color()
ExprInfo
color in class ExprInfo
public final void plan(Serializer ser)
throws IOException
ExprInfo
plan in class ExprInfoser - 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 | |||||||||