org.h2gis.h2spatial.internal.type
Class GeometryTypeFromConstraint
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatial.internal.type.GeometryTypeFromConstraint
- All Implemented Interfaces:
- Function, ScalarFunction
public class GeometryTypeFromConstraint
- extends DeterministicScalarFunction
Convert H2 constraint string into a OGC geometry type index.
- Author:
- Nicolas Fortin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeometryTypeFromConstraint
public GeometryTypeFromConstraint()
- Default constructor
getJavaStaticMethod
public String getJavaStaticMethod()
geometryTypeFromConstraint
public static int geometryTypeFromConstraint(String constraint,
int numericPrecision)
- Convert H2 constraint string into a OGC geometry type index.
- Parameters:
constraint - SQL Constraint ex: ST_GeometryTypeCode(the_geom) = 5numericPrecision - This parameter is available if the user give domain
- Returns:
- Geometry type code
GeometryTypeCodes
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.