Class MinimumBoundingRadiusRowSet
- java.lang.Object
-
- org.h2gis.functions.spatial.create.MinimumBoundingRadiusRowSet
-
- All Implemented Interfaces:
org.h2.tools.SimpleRowSource
public class MinimumBoundingRadiusRowSet extends Object implements org.h2.tools.SimpleRowSource
This class is used to compute the center and the radius of multiple geometries stored in a table.- Author:
- Erwan Bocher, CNRS 2023
-
-
Field Summary
Fields Modifier and Type Field Description intexplodeIdintspatialFieldIndexResultSettableQuery
-
Constructor Summary
Constructors Constructor Description MinimumBoundingRadiusRowSet(Connection connection, String tableName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ResultSetgetResultSet()Object[]readRow()voidreset()
-
-
-
Field Detail
-
tableQuery
public ResultSet tableQuery
-
spatialFieldIndex
public int spatialFieldIndex
-
explodeId
public int explodeId
-
-
Constructor Detail
-
MinimumBoundingRadiusRowSet
public MinimumBoundingRadiusRowSet(Connection connection, String tableName)
-
-
Method Detail
-
readRow
public Object[] readRow() throws SQLException
- Specified by:
readRowin interfaceorg.h2.tools.SimpleRowSource- Throws:
SQLException
-
close
public void close()
- Specified by:
closein interfaceorg.h2.tools.SimpleRowSource
-
reset
public void reset() throws SQLException- Specified by:
resetin interfaceorg.h2.tools.SimpleRowSource- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet() throws SQLException
- Throws:
SQLException
-
-