|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.h2gis.h2spatialext.function.spatial.create.GridRowSet
public class GridRowSet
GridRowSet is used to populate a result set with all grid cells. A cell could be represented as a polygon or its center point.
| Constructor Summary | |
|---|---|
GridRowSet(Connection connection,
double deltaX,
double deltaY,
com.vividsolutions.jts.geom.Envelope envelope)
The grid will be computed according an envelope |
|
GridRowSet(Connection connection,
double deltaX,
double deltaY,
String tableName)
The grid will be computed according a table stored in the database |
|
| Method Summary | |
|---|---|
void |
close()
|
ResultSet |
getResultSet()
Give the regular grid |
boolean |
isCenterCell()
Return true is cell is represented as point, false as a polygon |
Object[] |
readRow()
|
void |
reset()
|
void |
setCenterCell(boolean isCenterCell)
Set if the cell must be represented as a point or a polygon |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridRowSet(Connection connection,
double deltaX,
double deltaY,
String tableName)
connection - deltaX - deltaY - tableName -
public GridRowSet(Connection connection,
double deltaX,
double deltaY,
com.vividsolutions.jts.geom.Envelope envelope)
connection - deltaX - deltaY - envelope - | Method Detail |
|---|
public Object[] readRow()
throws SQLException
readRow in interface org.h2.tools.SimpleRowSourceSQLExceptionpublic void close()
close in interface org.h2.tools.SimpleRowSource
public void reset()
throws SQLException
reset in interface org.h2.tools.SimpleRowSourceSQLExceptionpublic boolean isCenterCell()
public void setCenterCell(boolean isCenterCell)
isCenterCell -
public ResultSet getResultSet()
throws SQLException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||