Interface BasisQuerySource

All Superinterfaces:
java.lang.Iterable<BasisQuery>, java.util.Iterator<BasisQuery>
All Known Implementing Classes:
BasisQueryAdapter, BasisQueryRecorder, BasisQueryWrapper, Filter, FrequencyFilter, LuceneDocumentFrequencyFilter, LuceneIndexTermIterator, RevertedIndexBasisQuerySource, RevertedQueryBasisQuerySource, StreamBasisQuerySource

public interface BasisQuerySource
extends java.util.Iterator<BasisQuery>, java.lang.Iterable<BasisQuery>

This interface specifies methods that classes that generate or filter basis queries must implement. The method is intended to be called to close chains of filters assembled to process basis queries. Filters that allocate resources (e.g., IndexReaders, file streams, etc.) will be able to free their resources when all basis queries are processed.

Gene Golovchinsky

Method Summary
 void close()
          Implementers should close their resources
Methods inherited from interface java.util.Iterator
hasNext, next, remove
Methods inherited from interface java.lang.Iterable

Method Detail


void close()
Implementers should close their resources