Package org.apache.solr.response
Class BinaryResponseWriter.Resolver
- java.lang.Object
-
- org.apache.solr.response.BinaryResponseWriter.Resolver
-
- All Implemented Interfaces:
org.apache.solr.common.util.JavaBinCodec.ObjectResolver
,org.apache.solr.common.util.JavaBinCodec.WritableDocFields
- Enclosing class:
- BinaryResponseWriter
public static class BinaryResponseWriter.Resolver extends Object implements org.apache.solr.common.util.JavaBinCodec.ObjectResolver, org.apache.solr.common.util.JavaBinCodec.WritableDocFields
-
-
Field Summary
Fields Modifier and Type Field Description protected ReturnFields
returnFields
protected IndexSchema
schema
protected SolrQueryRequest
solrQueryRequest
-
Constructor Summary
Constructors Constructor Description Resolver(SolrQueryRequest req, ReturnFields returnFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWritable(String name)
Object
resolve(Object o, org.apache.solr.common.util.JavaBinCodec codec)
boolean
wantsAllFields()
void
writeResults(ResultContext ctx, org.apache.solr.common.util.JavaBinCodec codec)
protected void
writeResultsBody(ResultContext res, org.apache.solr.common.util.JavaBinCodec codec)
-
-
-
Field Detail
-
solrQueryRequest
protected final SolrQueryRequest solrQueryRequest
-
schema
protected IndexSchema schema
-
returnFields
protected ReturnFields returnFields
-
-
Constructor Detail
-
Resolver
public Resolver(SolrQueryRequest req, ReturnFields returnFields)
-
-
Method Detail
-
resolve
public Object resolve(Object o, org.apache.solr.common.util.JavaBinCodec codec) throws IOException
- Specified by:
resolve
in interfaceorg.apache.solr.common.util.JavaBinCodec.ObjectResolver
- Throws:
IOException
-
isWritable
public boolean isWritable(String name)
- Specified by:
isWritable
in interfaceorg.apache.solr.common.util.JavaBinCodec.WritableDocFields
-
wantsAllFields
public boolean wantsAllFields()
- Specified by:
wantsAllFields
in interfaceorg.apache.solr.common.util.JavaBinCodec.WritableDocFields
-
writeResultsBody
protected void writeResultsBody(ResultContext res, org.apache.solr.common.util.JavaBinCodec codec) throws IOException
- Throws:
IOException
-
writeResults
public void writeResults(ResultContext ctx, org.apache.solr.common.util.JavaBinCodec codec) throws IOException
- Throws:
IOException
-
-