public static class BinaryResponseWriter.Resolver extends Object implements JavaBinCodec.ObjectResolver
Modifier and Type | Field and Description |
---|---|
protected ReturnFields |
returnFields |
protected IndexSchema |
schema |
protected SolrIndexSearcher |
searcher |
protected SolrQueryRequest |
solrQueryRequest |
Constructor and Description |
---|
BinaryResponseWriter.Resolver(SolrQueryRequest req,
ReturnFields returnFields) |
Modifier and Type | Method and Description |
---|---|
SolrDocument |
getDoc(Document doc) |
Object |
getValue(SchemaField sf,
IndexableField f) |
Object |
resolve(Object o,
JavaBinCodec codec) |
void |
writeResults(ResultContext ctx,
JavaBinCodec codec) |
protected void |
writeResultsBody(ResultContext res,
JavaBinCodec codec) |
protected final SolrQueryRequest solrQueryRequest
protected IndexSchema schema
protected SolrIndexSearcher searcher
protected final ReturnFields returnFields
public BinaryResponseWriter.Resolver(SolrQueryRequest req, ReturnFields returnFields)
public Object resolve(Object o, JavaBinCodec codec) throws IOException
resolve
in interface JavaBinCodec.ObjectResolver
IOException
protected void writeResultsBody(ResultContext res, JavaBinCodec codec) throws IOException
IOException
public void writeResults(ResultContext ctx, JavaBinCodec codec) throws IOException
IOException
public SolrDocument getDoc(Document doc)
public Object getValue(SchemaField sf, IndexableField f) throws Exception
Exception
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.