Class ST_PointFromWKB
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.convert.ST_PointFromWKB
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_PointFromWKB extends org.h2gis.api.DeterministicScalarFunctionConvert Well Known Binary into a POINT.- Author:
- Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description ST_PointFromWKB()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.GeometrytoPoint(byte[] bytes)Convert WKT into a Pointstatic org.locationtech.jts.geom.GeometrytoPoint(byte[] bytes, int srid)Convert WKT into a Point-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
toPoint
public static org.locationtech.jts.geom.Geometry toPoint(byte[] bytes) throws SQLException, IOExceptionConvert WKT into a Point- Parameters:
bytes- Byte array- Returns:
- Point instance of null if bytes null
- Throws:
SQLException- WKB Parse errorIOException
-
toPoint
public static org.locationtech.jts.geom.Geometry toPoint(byte[] bytes, int srid) throws SQLException, IOExceptionConvert WKT into a Point- Parameters:
bytes- Byte arraysrid- SRID- Returns:
- Point instance of null if bytes null
- Throws:
SQLException- WKB Parse errorIOException
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
-