org.basex.query.ft
Class FTContainsIndex

java.lang.Object
  extended by org.basex.query.ExprInfo
      extended by org.basex.query.expr.Expr
          extended by org.basex.query.ft.FTContains
              extended by org.basex.query.ft.FTContainsIndex

public final class FTContainsIndex
extends FTContains

Sequential FTContains expression with index access.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Sebastian Gath

Nested Class Summary
 
Nested classes/interfaces inherited from class org.basex.query.expr.Expr
Expr.Use
 
Constructor Summary
FTContainsIndex(Expr e, FTExpr f, IndexContext ic)
          Constructor.
 
Method Summary
 Bln atomic(QueryContext ctx)
          Evaluates the expression and returns the resulting item or a null reference.
 String toString()
           
 
Methods inherited from class org.basex.query.ft.FTContains
color, comp, indexAccessible, indexEquivalent, plan, removable, remove, returned, uses
 
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

FTContainsIndex

public FTContainsIndex(Expr e,
                       FTExpr f,
                       IndexContext ic)
Constructor.

Parameters:
e - contains, select and optional ignore expression
f - full-text expression
ic - index context
Method Detail

atomic

public Bln atomic(QueryContext ctx)
           throws QueryException
Description copied from class: Expr
Evaluates the expression and returns the resulting item or a null reference. If this method is not overwritten, Expr.iter(org.basex.query.QueryContext) must be implemented.

Overrides:
atomic in class FTContains
Parameters:
ctx - query context
Returns:
iterator
Throws:
QueryException - query exception

toString

public String toString()
Overrides:
toString in class FTContains