Package org.elasticsearch.common.geo
Class GeometryIO
java.lang.Object
org.elasticsearch.common.geo.GeometryIO
public final class GeometryIO
extends java.lang.Object
Utility class for binary serializtion/deserialization of libs/geo classes
-
Constructor Summary
Constructors Constructor Description GeometryIO()
-
Method Summary
Modifier and Type Method Description static org.elasticsearch.geometry.Geometry
readGeometry(StreamInput in)
static void
writeGeometry(StreamOutput out, org.elasticsearch.geometry.Geometry geometry)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GeometryIO
public GeometryIO()
-
-
Method Details
-
writeGeometry
public static void writeGeometry(StreamOutput out, org.elasticsearch.geometry.Geometry geometry) throws java.io.IOException- Throws:
java.io.IOException
-
readGeometry
public static org.elasticsearch.geometry.Geometry readGeometry(StreamInput in) throws java.io.IOException- Throws:
java.io.IOException
-