public static class BinaryResponseWriter.Resolver extends Object implements JavaBinCodec.ObjectResolver, JavaBinCodec.WritableDocFields
Modifier and Type | Field and Description |
---|---|
protected ReturnFields |
returnFields |
protected IndexSchema |
schema |
protected SolrQueryRequest |
solrQueryRequest |
Constructor and Description |
---|
Resolver(SolrQueryRequest req,
ReturnFields returnFields) |
Modifier and Type | Method and Description |
---|---|
boolean |
isWritable(String name) |
Object |
resolve(Object o,
JavaBinCodec codec) |
boolean |
wantsAllFields() |
void |
writeResults(ResultContext ctx,
JavaBinCodec codec) |
protected void |
writeResultsBody(ResultContext res,
JavaBinCodec codec) |
protected final SolrQueryRequest solrQueryRequest
protected IndexSchema schema
protected ReturnFields returnFields
public Resolver(SolrQueryRequest req, ReturnFields returnFields)
public Object resolve(Object o, JavaBinCodec codec) throws IOException
resolve
in interface JavaBinCodec.ObjectResolver
IOException
public boolean isWritable(String name)
isWritable
in interface JavaBinCodec.WritableDocFields
public boolean wantsAllFields()
wantsAllFields
in interface JavaBinCodec.WritableDocFields
protected void writeResultsBody(ResultContext res, JavaBinCodec codec) throws IOException
IOException
public void writeResults(ResultContext ctx, JavaBinCodec codec) throws IOException
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.