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.RawWriter
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected void writeException(Exception e, PushWriter w, boolean log) throws IOException
IOException
public void write(OutputStream os) throws IOException
write
in interface SolrCore.RawWriter
IOException
protected void writeDocs(SolrQueryRequest req, IteratorWriter.ItemWriter writer, Sort sort) throws IOException
IOException
protected void writeDoc(org.apache.solr.handler.ExportWriter.SortDoc sortDoc, List<LeafReaderContext> leaves, MapWriter.EntryWriter ew) throws IOException
IOException
protected ExportWriter.FieldWriter[] getFieldWriters(String[] fields, SolrIndexSearcher searcher) throws IOException
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.