org.h2gis.h2spatial.internal.function.spatial.properties
Class ST_CoordDim

java.lang.Object
  extended by org.h2gis.h2spatialapi.AbstractFunction
      extended by org.h2gis.h2spatialapi.DeterministicScalarFunction
          extended by org.h2gis.h2spatial.internal.function.spatial.properties.ST_CoordDim
All Implemented Interfaces:
Function, ScalarFunction

public class ST_CoordDim
extends DeterministicScalarFunction

ST_CoordDim returns the dimension of the coordinates of the given geometry. Implements the SQL/MM Part 3: Spatial 5.1.3

Author:
Adam Gouge

Field Summary
 
Fields inherited from interface org.h2gis.h2spatialapi.ScalarFunction
PROP_DETERMINISTIC, PROP_NOBUFFER
 
Fields inherited from interface org.h2gis.h2spatialapi.Function
PROP_NAME, PROP_REMARKS
 
Constructor Summary
ST_CoordDim()
           
 
Method Summary
static Integer getCoordinateDimension(byte[] geom)
          Returns the dimension of the coordinates of the given geometry.
 String getJavaStaticMethod()
           
 
Methods inherited from class org.h2gis.h2spatialapi.AbstractFunction
addProperty, getProperty, removeProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.h2gis.h2spatialapi.Function
getProperty
 

Constructor Detail

ST_CoordDim

public ST_CoordDim()
Method Detail

getJavaStaticMethod

public String getJavaStaticMethod()

getCoordinateDimension

public static Integer getCoordinateDimension(byte[] geom)
                                      throws IOException
Returns the dimension of the coordinates of the given geometry.

Parameters:
geom - Geometry
Returns:
The dimension of the coordinates of the given geometry
Throws:
IOException


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.