org.basex.query.ft
Class FTNot
java.lang.Object
org.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.ft.FTExpr
org.basex.query.ft.FTNot
public final class FTNot
- extends FTExpr
FTUnaryNot expression.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen, Sebastian Gath
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
Expr.Use |
Fields inherited from class org.basex.query.ft.FTExpr |
expr |
Methods inherited from class org.basex.query.expr.Expr |
addText, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, sameAs, size, test, v |
FTNot
public FTNot(FTExpr e)
- Constructor.
- Parameters:
e
- expression
comp
public FTExpr comp(QueryContext ctx)
throws QueryException
- Description copied from class:
Expr
- Optimizes and compiles the expression.
- Overrides:
comp
in class FTExpr
- Parameters:
ctx
- query context
- Returns:
- optimized Expression
- Throws:
QueryException
- query exception
atomic
public FTItem atomic(QueryContext ctx)
throws QueryException
- Description copied from class:
FTExpr
- This method is called by the sequential full-text evaluation.
- Specified by:
atomic
in class FTExpr
- Parameters:
ctx
- query context
- Returns:
- resulting item
- Throws:
QueryException
- query exception
iter
public FTIter iter(QueryContext ctx)
throws QueryException
- Description copied from class:
FTExpr
- This method is called by the index-based full-text evaluation.
- Specified by:
iter
in class FTExpr
- Parameters:
ctx
- query context
- Returns:
- resulting item
- Throws:
QueryException
- query exception
indexAccessible
public boolean indexAccessible(IndexContext ic)
throws QueryException
- Description copied from class:
Expr
- Checks if an index can be used for query evaluation.
- Overrides:
indexAccessible
in class Expr
- Parameters:
ic
- index context
- Returns:
- true if an index can be used
- Throws:
QueryException
- query exception
usesExclude
public boolean usesExclude()
- Description copied from class:
FTExpr
- Checks if sub expressions of a mild not operator
do not violate the grammar.
- Returns:
- result of check
toString
public String toString()
- Specified by:
toString
in class ExprInfo