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.ShapeWriter
jsonWriter
org.locationtech.spatial4j.shape.Shape
shape
-
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 Object
resolve(Object o, JavaBinCodec codec)
String
toString()
void
write(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:
write
in classWriteableValue
- Throws:
IOException
-
-