org.modeshape.jcr.query.engine.process

## Class ExceptSequence

- java.lang.Object
- - org.modeshape.jcr.query.NodeSequence
  - - org.modeshape.jcr.query.engine.process.DelegatingSequence
    - - org.modeshape.jcr.query.engine.process.BufferingSequence
      - - org.modeshape.jcr.query.engine.process.AbstractNodeKeysSequence
        - - org.modeshape.jcr.query.engine.process.ExceptSequence

-     public class ExceptSequence
      extends AbstractNodeKeysSequence

  A `AbstractNodeKeysSequence` implementation which performs an EXCEPT operation between 2 other sequences, keeping only instances which don't have a corresponding value on the right.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.modeshape.jcr.query.NodeSequence

      `NodeSequence.AlternateSizeBatch, NodeSequence.Batch, NodeSequence.LimitBatch, NodeSequence.MultiWidthBatch, NodeSequence.Restartable, NodeSequence.RowAccessor, NodeSequence.RowFilter, NodeSequence.SingleWidthBatch`

  - ### Field Summary

    - ### Fields inherited from class org.modeshape.jcr.query.engine.process.AbstractNodeKeysSequence

      `leftSequence, totalWidth`

    - ### Fields inherited from class org.modeshape.jcr.query.engine.process.BufferingSequence

      `buffer, cache, extractor, logger, remainingRowCount, rowFactory, trace, width, workspaceName`

    - ### Fields inherited from class org.modeshape.jcr.query.engine.process.DelegatingSequence

      `delegate`

    - ### Fields inherited from class org.modeshape.jcr.query.NodeSequence

      `LOGGER, NO_PASS_ROW_FILTER, PASS_ROW_FILTER`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExceptSequence(String workspaceName, NodeSequence leftSequence, NodeSequence rightSequence, TypeSystem types, BufferManager bufferMgr, CachedNodeSupplier nodeCache, boolean pack, boolean useHeap)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected NodeSequence.Batch` | `batchWrapper(NodeSequence.Batch leftBatch)`
    `String` | `toString()`

    - ### Methods inherited from class org.modeshape.jcr.query.engine.process.AbstractNodeKeysSequence

      `keyInLeftRow, matchingRightRows, nextBatch, width`

    - ### Methods inherited from class org.modeshape.jcr.query.engine.process.BufferingSequence

      `batchFrom, close, createRow, isEmpty, loadAll, rowCount`

    - ### Methods inherited from class org.modeshape.jcr.query.engine.process.DelegatingSequence

      `getRowCount`

    - ### Methods inherited from class org.modeshape.jcr.query.NodeSequence

      `append, batchFilteredWith, batchOf, batchOf, batchOf, batchOfKeys, batchOfKeys, batchOfKeys, batchOfKeys, batchWithCount, copy, emptyBatch, emptySequence, filter, keyFor, limit, limit, merging, requireBoth, requireEither, skip, slice, slicingBatch, withBatch, withBatches, withBatches, withNode, withNodeKeys, withNodeKeys, withNodeKeys, withNodeKeys, withNodes, withNodes`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ExceptSequence

          public ExceptSequence(String workspaceName,
                        NodeSequence leftSequence,
                        NodeSequence rightSequence,
                        TypeSystem types,
                        BufferManager bufferMgr,
                        CachedNodeSupplier nodeCache,
                        boolean pack,
                        boolean useHeap)

  - ### Method Detail

    - #### batchWrapper

          protected NodeSequence.Batch batchWrapper(NodeSequence.Batch leftBatch)

      Specified by:
        `batchWrapper` in class `AbstractNodeKeysSequence`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.