MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.iterators
Class PFFLWORIterator

java.lang.Object
  extended by ch.ethz.mxquery.model.Iterator
      extended by ch.ethz.mxquery.model.CurrentBasedIterator
          extended by ch.ethz.mxquery.iterators.FFLWORIterator
              extended by ch.ethz.mxquery.iterators.PFFLWORIterator
All Implemented Interfaces:
XDMIterator, Traversable

public class PFFLWORIterator
extends FFLWORIterator


Nested Class Summary
 
Nested classes/interfaces inherited from class ch.ethz.mxquery.iterators.FFLWORIterator
FFLWORIterator.CFAdapter
 
Field Summary
 
Fields inherited from interface ch.ethz.mxquery.model.XDMIterator
EXPR_CATEGORY_SEQUENTIAL, EXPR_CATEGORY_SIMPLE, EXPR_CATEGORY_UPDATING, EXPR_CATEGORY_VACUOUS, EXPR_PARAM_CHEAPEVAL, EXPR_PARAM_VARIABLE, EXPR_PARAM_WINDOW, EXPR_PARAM_XDMGEN
 
Constructor Summary
PFFLWORIterator(Context ctx, XDMIterator[] subIters, XDMIterator whereExpr, OrderByIterator orderByExpr, XDMIterator returnExpr, QueryLocation location)
           
 
Method Summary
 void init()
           
 Token next()
          Produces the next XDM token This method typically implements the base functionality of an Iterator and computes the value of the next token.
 
Methods inherited from class ch.ethz.mxquery.iterators.FFLWORIterator
copy, doNextBinding, getAllSubIters, getOrderByExpr, getReturnExpr, getStaticType, getSubIters, getWhereExpr, setContext, setOrderByExpr, setResettable, setReturnExpr, setWhereExpr, traverseIteratorTree
 
Methods inherited from class ch.ethz.mxquery.model.Iterator
addPredicates, close, copyInts, copyIterators, copyQNames, copyStrings, copyTypeInfos, getAllSubItersRecursive, getContext, getExpressionCategoryType, getLoc, getPendingUpdateList, getPredicates, hasPredicates, isConstModePreserve, isExprParameter, isOpen, isResettable, removePredicates, reset, setConstModePreserve, setLoc, setOrderByExpr, setParam, setSubIters, setSubIters, setSubIters, traverse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PFFLWORIterator

public PFFLWORIterator(Context ctx,
                       XDMIterator[] subIters,
                       XDMIterator whereExpr,
                       OrderByIterator orderByExpr,
                       XDMIterator returnExpr,
                       QueryLocation location)
                throws MXQueryException
Throws:
MXQueryException
Method Detail

init

public void init()
          throws MXQueryException
Throws:
MXQueryException

next

public Token next()
           throws MXQueryException
Description copied from interface: XDMIterator
Produces the next XDM token This method typically implements the base functionality of an Iterator and computes the value of the next token.

Specified by:
next in interface XDMIterator
Overrides:
next in class FFLWORIterator
Returns:
The XDM token representing the next fragment of the XDM instance
Throws:
MXQueryException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich