public class DocumentExtractorImpl extends Object implements DocumentExtractor
Constructor and Description |
---|
DocumentExtractorImpl(QueryHits queryHits,
ExtendedSearchIntegrator extendedIntegrator,
String[] projection,
Set<String> idFieldNames,
boolean allowFieldSelection,
LazyQueryState searcher,
Query query,
int firstIndex,
int maxIndex,
Set<Class<?>> classesAndSubclasses) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
EntityInfo |
extract(int scoreDocIndex) |
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, Query query, int firstIndex, int maxIndex, Set<Class<?>> classesAndSubclasses)
public EntityInfo extract(int scoreDocIndex) throws IOException
extract
in interface DocumentExtractor
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
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved