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 |
---|---|
int |
currentIndex() |
static SolrDocument |
getDoc(Document doc,
IndexSchema schema) |
static Object |
getValue(SchemaField sf,
IndexableField f) |
boolean |
hasNext() |
SolrDocument |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public DocsStreamer(ResultContext rctx)
public int currentIndex()
public boolean hasNext()
hasNext
in interface Iterator<SolrDocument>
public SolrDocument next()
next
in interface Iterator<SolrDocument>
public static SolrDocument getDoc(Document doc, IndexSchema schema)
public void remove()
remove
in interface Iterator<SolrDocument>
public static Object getValue(SchemaField sf, IndexableField f)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.