public class SchemaXmlWriter extends TextResponseWriter
cal, doIndent, level, req, returnFields, rsp, schema, writer| Constructor and Description |
|---|
SchemaXmlWriter(Writer writer,
SolrQueryRequest req,
SolrQueryResponse rsp) |
| Modifier and Type | Method and Description |
|---|---|
void |
setEmitManagedSchemaDoNotEditWarning(boolean emitManagedSchemaDoNotEditWarning) |
void |
writeArray(String name,
Iterator iter) |
void |
writeArray(String name,
Object[] val) |
void |
writeAttr(String name,
String val,
boolean escape) |
void |
writeBool(String name,
String val) |
void |
writeDate(String name,
String val) |
void |
writeDouble(String name,
double val) |
void |
writeDouble(String name,
String val) |
void |
writeEndDocumentList() |
void |
writeFloat(String name,
float val) |
void |
writeFloat(String name,
String val) |
void |
writeInt(String name,
String val) |
void |
writeLong(String name,
String val) |
void |
writeMap(String name,
Map map,
boolean excludeOuter,
boolean isFirstVal) |
void |
writeNamedList(String name,
NamedList val) |
void |
writeNull(String name) |
void |
writeResponse() |
static void |
writeResponse(Writer writer,
SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
writeSolrDocument(String name,
SolrDocument doc,
ReturnFields returnFields,
int idx) |
void |
writeStartDocumentList(String name,
long start,
int size,
long numFound,
Float maxScore) |
void |
writeStartDocumentList(String name,
long start,
int size,
long numFound,
Float maxScore,
Boolean numFoundExact) |
void |
writeStr(String name,
String val,
boolean escape) |
close, decLevel, doIndent, getWriter, incLevel, level, setIndent, setLevel, writeDocuments, writeSolrDocumentList, writeValclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitindent, indent, writeArray, writeBool, writeBool, writeByteArr, writeDate, writeInt, writeIterator, writeLong, writeMap, writeNumberpublic SchemaXmlWriter(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp)
public void setEmitManagedSchemaDoNotEditWarning(boolean emitManagedSchemaDoNotEditWarning)
public static void writeResponse(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp) throws IOException
IOExceptionpublic void writeResponse()
throws IOException
IOExceptionpublic void writeAttr(String name, String val, boolean escape) throws IOException
IOExceptionpublic void writeNamedList(String name, NamedList val) throws IOException
IOExceptionpublic void writeMap(String name, Map map, boolean excludeOuter, boolean isFirstVal) throws IOException
IOExceptionpublic void writeArray(String name, Object[] val) throws IOException
IOExceptionpublic void writeArray(String name, Iterator iter) throws IOException
IOExceptionpublic void writeNull(String name) throws IOException
IOExceptionpublic void writeStr(String name, String val, boolean escape) throws IOException
IOExceptionpublic void writeInt(String name, String val) throws IOException
IOExceptionpublic void writeLong(String name, String val) throws IOException
IOExceptionpublic void writeBool(String name, String val) throws IOException
IOExceptionpublic void writeFloat(String name, String val) throws IOException
IOExceptionpublic void writeFloat(String name, float val) throws IOException
IOExceptionpublic void writeDouble(String name, String val) throws IOException
IOExceptionpublic void writeDouble(String name, double val) throws IOException
IOExceptionpublic void writeDate(String name, String val) throws IOException
IOExceptionpublic void writeStartDocumentList(String name, long start, int size, long numFound, Float maxScore) throws IOException
writeStartDocumentList in class TextResponseWriterIOExceptionpublic void writeStartDocumentList(String name, long start, int size, long numFound, Float maxScore, Boolean numFoundExact) throws IOException
writeStartDocumentList in class TextResponseWriterIOExceptionpublic void writeSolrDocument(String name, SolrDocument doc, ReturnFields returnFields, int idx) throws IOException
writeSolrDocument in class TextResponseWriterIOExceptionpublic void writeEndDocumentList()
throws IOException
writeEndDocumentList in class TextResponseWriterIOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.