public class ExportWriter extends Object implements SolrCore.RawWriter, Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
ExportWriter.DoubleAsc |
static class |
ExportWriter.DoubleDesc |
protected class |
ExportWriter.FieldWriter |
static class |
ExportWriter.FloatAsc |
static class |
ExportWriter.FloatDesc |
static class |
ExportWriter.IgnoreException |
static interface |
ExportWriter.IntComp |
class |
ExportWriter.PriorityQueue<T> |
static interface |
ExportWriter.SortValue |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getContentType() |
protected ExportWriter.FieldWriter[] |
getFieldWriters(String[] fields,
SolrIndexSearcher searcher) |
void |
write(OutputStream os) |
protected void |
writeDoc(org.apache.solr.handler.ExportWriter.SortDoc sortDoc,
List<LeafReaderContext> leaves,
MapWriter.EntryWriter ew) |
protected void |
writeDocs(SolrQueryRequest req,
IteratorWriter.ItemWriter writer,
Sort sort) |
protected void |
writeException(Exception e,
PushWriter w,
boolean log) |
public String getContentType()
getContentType in interface SolrCore.RawWriterpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void writeException(Exception e, PushWriter w, boolean log) throws IOException
IOExceptionpublic void write(OutputStream os) throws IOException
write in interface SolrCore.RawWriterIOExceptionprotected void writeDocs(SolrQueryRequest req, IteratorWriter.ItemWriter writer, Sort sort) throws IOException
IOExceptionprotected void writeDoc(org.apache.solr.handler.ExportWriter.SortDoc sortDoc,
List<LeafReaderContext> leaves,
MapWriter.EntryWriter ew)
throws IOException
IOExceptionprotected ExportWriter.FieldWriter[] getFieldWriters(String[] fields, SolrIndexSearcher searcher) throws IOException
IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.