public class DocumentExtractorImpl extends Object implements DocumentExtractor
Constructor and Description |
---|
DocumentExtractorImpl(QueryHits queryHits,
ExtendedSearchIntegrator extendedIntegrator,
String[] projection,
Set<String> idFieldNames,
boolean allowFieldSelection,
LazyQueryState searcher,
int firstIndex,
int maxIndex,
Set<Class<?>> classesAndSubclasses) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
EntityInfo |
extract(int scoreDocIndex)
Retrieves entity information for the result at the given index.
|
int |
getFirstIndex() |
int |
getMaxIndex() |
TopDocs |
getTopDocs()
Required by Infinispan Query.
|
public DocumentExtractorImpl(QueryHits queryHits, ExtendedSearchIntegrator extendedIntegrator, String[] projection, Set<String> idFieldNames, boolean allowFieldSelection, LazyQueryState searcher, int firstIndex, int maxIndex, Set<Class<?>> classesAndSubclasses)
public EntityInfo extract(int scoreDocIndex) throws IOException
DocumentExtractor
extract
in interface DocumentExtractor
scoreDocIndex
- The requested result index.IOException
public int getFirstIndex()
getFirstIndex
in interface DocumentExtractor
public int getMaxIndex()
getMaxIndex
in interface DocumentExtractor
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface DocumentExtractor
public TopDocs getTopDocs()
getTopDocs
in interface DocumentExtractor
TopDocs
instanceCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved