public interface IFilter extends Serializable, IPropertySet
Striterator
protocol does not support a close() method for
Filter
s. That method should be invoked by an
ICloseableIterator
.Modifier and Type | Method and Description |
---|---|
Iterator |
filter(Iterator src,
Object context)
The filter method is provided to allow the creation of the filtering iterator.
|
getProperty
Iterator filter(Iterator src, Object context)
The filter method is provided to allow the creation of the filtering iterator.
Any implementation should follow the following pattern:
public Iterator filter(Iterator src, Object context) { return new Filterator(src, context, this); }This pattern makes the source iterator, the evaluation context, and the
IPropertySet
annotations visible to the runtime striterator
implementation.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.