public class BulkFilterConverter extends Object implements IChunkConverter<ISPO,ISPO>
| Constructor and Description |
|---|
BulkFilterConverter(IIndex ndx,
boolean present) |
| Modifier and Type | Method and Description |
|---|---|
ISPO[] |
convert(IChunkedOrderedIterator<ISPO> src)
Convert the next chunk of element(s) from the source iterator into target
element(s).
|
public BulkFilterConverter(IIndex ndx, boolean present)
ndx - The SPO index.present - true if true, filter for statements that exist in the db,
otherwise filter for statements that do not existpublic ISPO[] convert(IChunkedOrderedIterator<ISPO> src)
IChunkConverter
Note: This method will only be invoked if
ChunkedConvertingIterator.hasNext() reports true
for the source iterator.
Note: Iterators are single-threaded so the implementation of this method does not need to be thread-safe.
convert in interface IChunkConverter<ISPO,ISPO>src - The source iterator.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.