public class DocsStreamer extends Object implements Iterator<SolrDocument>
| Modifier and Type | Field and Description | 
|---|---|
| static Set<Class> | KNOWN_TYPES | 
| Constructor and Description | 
|---|
| DocsStreamer(ResultContext rctx) | 
| Modifier and Type | Method and Description | 
|---|---|
| static Set<String> | calcDocValueFieldsForReturn(SolrDocumentFetcher docFetcher,
                           ReturnFields returnFields) | 
| static SolrDocument | convertLuceneDocToSolrDoc(Document doc,
                         IndexSchema schema) | 
| int | currentIndex() | 
| static Object | getValue(SchemaField sf,
        IndexableField f) | 
| boolean | hasNext() | 
| SolrDocument | next() | 
| void | remove() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic DocsStreamer(ResultContext rctx)
public static Set<String> calcDocValueFieldsForReturn(SolrDocumentFetcher docFetcher, ReturnFields returnFields)
public int currentIndex()
public boolean hasNext()
hasNext in interface Iterator<SolrDocument>public SolrDocument next()
next in interface Iterator<SolrDocument>public static SolrDocument convertLuceneDocToSolrDoc(Document doc, IndexSchema schema)
public void remove()
remove in interface Iterator<SolrDocument>public static Object getValue(SchemaField sf, IndexableField f)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.