org.basex.query.xpath.expr
Class FTContainsNS
java.lang.Object
org.basex.query.ExprInfo
org.basex.query.xpath.expr.Expr
org.basex.query.xpath.expr.Arr
org.basex.query.xpath.expr.FTContainsNS
public final class FTContainsNS
- extends Arr
FTContains Expression; used for fulltext operations.
Called when path could be inverted and index accessed.
- Author:
- Workgroup DBIS, University of Konstanz 2005-08, ISC License, Sebastian Gath
Fields inherited from class org.basex.query.xpath.expr.Arr |
expr |
Method Summary |
Expr |
comp(XPContext ctx)
Optimizes the expression. |
Nod |
eval(XPContext ctx)
Evaluates the expression with the specified context set. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the
specified serializer. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FTContainsNS
public FTContainsNS(Expr e1,
FTArrayExpr e2)
- Constructor.
- Parameters:
e1
- first expressione2
- second expression to compare with first
comp
public Expr comp(XPContext ctx)
throws QueryException
- Description copied from class:
Expr
- Optimizes the expression.
- Overrides:
comp
in class Arr
- Parameters:
ctx
- expression context
- Returns:
- optimized Expression
- Throws:
QueryException
- evaluation exception
eval
public Nod eval(XPContext ctx)
throws QueryException
- Description copied from class:
Expr
- Evaluates the expression with the specified context set. Additionally
provides a context
- Specified by:
eval
in class Expr
- Parameters:
ctx
- query context
- Returns:
- resulting XPathValue
- Throws:
QueryException
- evaluation exception
toString
public java.lang.String toString()
- Specified by:
toString
in class ExprInfo
plan
public void plan(Serializer ser)
throws java.io.IOException
- Description copied from class:
ExprInfo
- Recursively sends the abstract syntax of this expression to the
specified serializer.
- Overrides:
plan
in class Arr
- Parameters:
ser
- serializer
- Throws:
java.io.IOException
- exception