public class ExportWriter extends Object implements SolrCore.RawWriter, Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
ExportWriter.IgnoreException |
| Constructor and Description |
|---|
ExportWriter(SolrQueryRequest req,
SolrQueryResponse res,
String wt) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getContentType() |
protected org.apache.solr.handler.export.FieldWriter[] |
getFieldWriters(String[] fields,
SolrIndexSearcher searcher) |
void |
write(OutputStream os) |
protected void |
writeDoc(org.apache.solr.handler.export.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 logException) |
public ExportWriter(SolrQueryRequest req, SolrQueryResponse res, String wt)
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 logException) 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.export.SortDoc sortDoc,
List<LeafReaderContext> leaves,
MapWriter.EntryWriter ew)
throws IOException
IOExceptionprotected org.apache.solr.handler.export.FieldWriter[] getFieldWriters(String[] fields, SolrIndexSearcher searcher) throws IOException
IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.