ch.ethz.mxquery.iterators.ft
Class FTBaseIterator
java.lang.Object
ch.ethz.mxquery.iterators.ft.FTBaseIterator
- All Implemented Interfaces:
- FTIteratorInterface
- Direct Known Subclasses:
- FTAndIterator, FTMildNotIterator, FTOrIterator, FTSelectionIterator, FTUnaryNotIterator, MatchIterator, Words
public abstract class FTBaseIterator
- extends java.lang.Object
- implements FTIteratorInterface
Base Full-text iterator
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ignoreOption
public Window ignoreOption
FTBaseIterator
public FTBaseIterator(Context ctx,
FTIteratorInterface[] subIters)
next
public AllMatch next()
throws MXQueryException
- Specified by:
next
in interface FTIteratorInterface
- Throws:
MXQueryException
reset
public void reset()
throws MXQueryException
- Specified by:
reset
in interface FTIteratorInterface
- Throws:
MXQueryException
setContext
public void setContext(Context ctx)
throws MXQueryException
- Specified by:
setContext
in interface FTIteratorInterface
- Throws:
MXQueryException
setIgnoreOption
public void setIgnoreOption(XDMIterator ignoreOption)
throws MXQueryException
- Specified by:
setIgnoreOption
in interface FTIteratorInterface
- Throws:
MXQueryException
setResettable
public void setResettable(boolean r)
throws MXQueryException
- Specified by:
setResettable
in interface FTIteratorInterface
- Throws:
MXQueryException
copy
public FTIteratorInterface copy(Context parentIterContext,
XQStaticContext prevParentIterContext,
boolean copyContext,
java.util.Vector nestedPredCtxStack)
throws MXQueryException
- Prepares copying the Iterator.
The context is copied (if necessary) here.
The subIterators are copied (if existing) here.
Calls copy(Context context, Iterator[] subIters)!
- Specified by:
copy
in interface FTIteratorInterface
- Parameters:
parentIterContext
- The new parent contextprevParentIterContext
- The previous context of the parent iteratorcopyContext
- Copy the context or use the parent context
- Returns:
- A copy of this Iterator
- Throws:
MXQueryException
getContext
public Context getContext()
- Specified by:
getContext
in interface FTIteratorInterface
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich