Interface DocumentExtractor
- All Known Implementing Classes:
DocumentExtractorImpl
public interface DocumentExtractor
DocumentExtractor is a traverser over the full-text results (EntityInfo)
This operation is as lazy as possible:
- the query is executed eagerly
- results are not retrieved until actually requested
getFirstIndex() and getMaxIndex() define the boundaries available to extract(int).
DocumentExtractor objects *must* be closed when the results are no longer traversed. See close()-
Method Details
-
extract
- Throws:
IOException
-
getFirstIndex
int getFirstIndex() -
getMaxIndex
int getMaxIndex() -
close
void close()
-