public class ST_Explode
extends org.h2gis.api.AbstractFunction
implements org.h2gis.api.ScalarFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
ST_Explode.ExplodeResultSet
Explode fields only on request
|
static class |
ST_Explode.ExplodeResultSetQuery
Explode fields only on request
The input data must be a SELECT expression that contains a geometry column
|
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPLODE_FIELD
The default field name for explode count, value is [1-n]
|
| Constructor and Description |
|---|
ST_Explode() |
| Modifier and Type | Method and Description |
|---|---|
static ResultSet |
explode(Connection connection,
String tableName)
Explode Geometry Collection into multiple geometries
|
static ResultSet |
explode(Connection connection,
String tableName,
String fieldName)
Explode Geometry Collection into multiple geometries
|
String |
getJavaStaticMethod() |
addProperty, getProperty, removePropertypublic static final String EXPLODE_FIELD
public String getJavaStaticMethod()
getJavaStaticMethod in interface org.h2gis.api.ScalarFunctionpublic static ResultSet explode(Connection connection, String tableName) throws SQLException
connection - tableName - the name of the input table or select querySQLExceptionpublic static ResultSet explode(Connection connection, String tableName, String fieldName) throws SQLException
connection - tableName - the name of the input tablefieldName - the name of geometry field. If null the first geometry column is used.SQLExceptionCopyright © 2019 CNRS. All rights reserved.