MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.iterators.update
Class ReplaceIterator

java.lang.Object
  extended by ch.ethz.mxquery.model.Iterator
      extended by ch.ethz.mxquery.iterators.update.UpdateIterator
          extended by ch.ethz.mxquery.iterators.update.ReplaceIterator
All Implemented Interfaces:
XDMIterator, Traversable

public class ReplaceIterator
extends UpdateIterator

Represents the updating expression REPLACE.


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
ReplaceIterator(Context ctx, int replaceType, XDMIterator targetExpr, XDMIterator sourceExpr, QueryLocation location)
          Constructor
 
Method Summary
 
Methods inherited from class ch.ethz.mxquery.iterators.update.UpdateIterator
next, setContext, traverseIteratorTree
 
Methods inherited from class ch.ethz.mxquery.model.Iterator
addPredicates, close, copy, copyInts, copyIterators, copyQNames, copyStrings, copyTypeInfos, getAllSubIters, getAllSubItersRecursive, getContext, getExpressionCategoryType, getLoc, getPendingUpdateList, getPredicates, getStaticType, getSubIters, hasPredicates, isConstModePreserve, isExprParameter, isOpen, isResettable, removePredicates, reset, setConstModePreserve, setLoc, setOrderByExpr, setParam, setResettable, setReturnExpr, setSubIters, setSubIters, setSubIters, setWhereExpr, traverse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceIterator

public ReplaceIterator(Context ctx,
                       int replaceType,
                       XDMIterator targetExpr,
                       XDMIterator sourceExpr,
                       QueryLocation location)
                throws StaticException
Constructor

Parameters:
replaceType - type of replacement
targetExpr - replace expression
sourceExpr - insert expression
Throws:
StaticException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich