| Package | Description |
|---|---|
| org.h2gis.utilities |
| Modifier and Type | Method and Description |
|---|---|
static TableLocation |
TableLocation.parse(String concatenatedTableLocation)
Convert catalog.schema.table, schema.table or table into a TableLocation
instance.
|
static TableLocation |
TableLocation.parse(String concatenatedTableLocation,
Boolean isH2Database)
Convert catalog.schema.table, schema.table or table into a TableLocation
instance.
|
static TableLocation |
TableUtilities.parseInputTable(Connection connection,
String inputTable)
Convert an input table String to a TableLocation
|
static TableLocation |
TableUtilities.suffixTableLocation(TableLocation inputTable,
String suffix)
Suffix a TableLocation
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SFSUtilities.addTableSRIDConstraint(Connection connection,
TableLocation tableLocation,
int srid)
Alter a table to add a SRID constraint.
|
static String |
TableUtilities.caseIdentifier(TableLocation requestedTable,
String tableName,
boolean isH2)
Return the table identifier in the best fit depending on database type
|
static void |
TableUtilities.copyFields(Connection connection,
org.h2.tools.SimpleResultSet rs,
TableLocation tableLocation)
Copy fields from table into a
SimpleResultSet |
static String[] |
SFSUtilities.getAuthorityAndSRID(Connection connection,
TableLocation table,
String fieldName)
Return an array of two string that correspond to the authority name
and its SRID code.
|
static List<String> |
SFSUtilities.getGeometryFields(Connection connection,
TableLocation location)
Find geometry fields name of a table.
|
static int |
SFSUtilities.getGeometryType(Connection connection,
TableLocation location,
String fieldName) |
static Map<String,Integer> |
SFSUtilities.getGeometryTypes(Connection connection,
TableLocation location)
Returns a map containing the field names as key and the SFS geometry type as value from the given table.
|
static int |
SFSUtilities.getSRID(Connection connection,
TableLocation table)
Return the srid of the first geometry column of the input table
|
static int |
SFSUtilities.getSRID(Connection connection,
TableLocation table,
String fieldName)
Return the srid of a table for a given field name.
|
static com.vividsolutions.jts.geom.Envelope |
SFSUtilities.getTableEnvelope(Connection connection,
TableLocation location,
String geometryField)
Merge the bounding box of all geometries inside the provided table.
|
static TableLocation |
TableUtilities.suffixTableLocation(TableLocation inputTable,
String suffix)
Suffix a TableLocation
|
Copyright © 2017 CNRS. All rights reserved.