public class UnionAxis extends AbsAxis
Returns an union of two operands. This axis takes two node sequences as operands and returns a sequence containing all the items that occur in either of the operands. A union of two sequences may lead to a sequence containing duplicates. These duplicates can be removed by wrapping the UnionAxis with a DupFilterAxis. The resulting sequence may also be out of document order.
Constructor and Description |
---|
UnionAxis(INodeReadTrx rtx,
AbsAxis mOperand1,
AbsAxis mOperand2)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
void |
reset(long mNodeKey)
Resetting the nodekey of this axis to a given nodekey.
|
addAtomicToItemList, close, getItemList, getNode, getStartKey, isSelfIncluded, iterator, moveTo, next, remove, resetToLastKey, resetToStartKey
public UnionAxis(INodeReadTrx rtx, AbsAxis mOperand1, AbsAxis mOperand2)
rtx
- Exclusive (immutable) trx to iterate with.mOperand1
- First operandmOperand2
- Second operandCopyright © 2013. All Rights Reserved.