org.modeshape.jcr.query

## Interface NodeSequence.RowFilter

- All Known Implementing Classes:
    ScanningQueryEngine.DynamicOperandFilter, ScanningQueryEngine.RowFilterSupplier
  Enclosing class:
    NodeSequence

      public static interface NodeSequence.RowFilter

  A filter of rows.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isCurrentRowValid(NodeSequence.Batch batch)` Determine if the current row in the given batch satisfies the filter and should be included in the results.

- - ### Method Detail

    - #### isCurrentRowValid

          boolean isCurrentRowValid(NodeSequence.Batch batch)

      Determine if the current row in the given batch satisfies the filter and should be included in the results.

      Implementations should never call `NodeSequence.Batch.hasNext()` or `NodeSequence.Batch.nextRow()`.

      Parameters:
        `batch` - the batch that is at a valid row
      Returns:
        true if the current row is acceptable, or false if it should be excluded

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