MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.iterators.forseq
Class ForseqGeneralIterator

java.lang.Object
  extended by ch.ethz.mxquery.model.Iterator
      extended by ch.ethz.mxquery.model.TokenBasedIterator
          extended by ch.ethz.mxquery.iterators.forseq.ForseqIterator
              extended by ch.ethz.mxquery.iterators.forseq.ForseqGeneralIterator
All Implemented Interfaces:
XDMIterator, Traversable

public final class ForseqGeneralIterator
extends ForseqIterator

This was the first implementation of General FORSEQ. Unfortunatly this implementnation is not already order by start end.


Field Summary
 
Fields inherited from class ch.ethz.mxquery.iterators.forseq.ForseqIterator
GENERAL_WINDOW, LANDMARK_WINDOW, ORDER_MODE_END, ORDER_MODE_ENDSTART, ORDER_MODE_NONE, SLIDING_WINDOW, TUMBLING_WINDOW
 
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
ForseqGeneralIterator(Context ctx, int windowType, QName var, TypeInfo t, XDMIterator seq, int orderMode, QueryLocation location)
           
 
Method Summary
 Window assignWindow()
          Generating all subsequences by the use of the binary integer representation
 
Methods inherited from class ch.ethz.mxquery.iterators.forseq.ForseqIterator
copy, getForseqVariable, isParallelAccess, next, setParallelAccess
 
Methods inherited from class ch.ethz.mxquery.model.Iterator
addPredicates, close, copyInts, copyIterators, copyQNames, copyStrings, copyTypeInfos, getAllSubIters, getAllSubItersRecursive, getContext, getExpressionCategoryType, getLoc, getPendingUpdateList, getPredicates, getStaticType, getSubIters, hasPredicates, isConstModePreserve, isExprParameter, isOpen, isResettable, removePredicates, reset, setConstModePreserve, setContext, setLoc, setOrderByExpr, setParam, setResettable, setReturnExpr, setSubIters, setSubIters, setSubIters, setWhereExpr, traverse, traverseIteratorTree
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForseqGeneralIterator

public ForseqGeneralIterator(Context ctx,
                             int windowType,
                             QName var,
                             TypeInfo t,
                             XDMIterator seq,
                             int orderMode,
                             QueryLocation location)
Method Detail

assignWindow

public Window assignWindow()
                    throws MXQueryException
Generating all subsequences by the use of the binary integer representation

Returns:
the window that has been assigned
Throws:
MXQueryException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich