Class WriteableGeoJSON
- java.lang.Object
-
- org.apache.solr.common.util.WriteableValue
-
- org.apache.solr.response.transform.WriteableGeoJSON
-
- All Implemented Interfaces:
JavaBinCodec.ObjectResolver
public class WriteableGeoJSON extends WriteableValue
This will let the writer add values to the response directly
-
-
Field Summary
Fields Modifier and Type Field Description org.locationtech.spatial4j.io.ShapeWriterjsonWriterorg.locationtech.spatial4j.shape.Shapeshape
-
Constructor Summary
Constructors Constructor Description WriteableGeoJSON(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.io.ShapeWriter jsonWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectresolve(Object o, JavaBinCodec codec)StringtoString()voidwrite(String name, TextWriter writer)
-
-
-
Method Detail
-
resolve
public Object resolve(Object o, JavaBinCodec codec) throws IOException
- Throws:
IOException
-
write
public void write(String name, TextWriter writer) throws IOException
- Specified by:
writein classWriteableValue- Throws:
IOException
-
-