org.h2gis.utilities
Interface SpatialResultSetMetaData
- All Superinterfaces:
- ResultSetMetaData, Wrapper
- All Known Implementing Classes:
- SpatialResultSetMetaDataImpl
public interface SpatialResultSetMetaData
- extends ResultSetMetaData
In order to provide a common API with H2 Spatial and PostGIS this MetaData give type information on Geometry fields.
- Author:
- Nicolas Fortin
| Methods inherited from interface java.sql.ResultSetMetaData |
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable |
getGeometryType
int getGeometryType(int column)
throws SQLException
- Parameters:
column -
- Returns:
GeometryTypeCodes of the provided column.
- Throws:
SQLException
getGeometryType
int getGeometryType()
throws SQLException
- Returns:
GeometryTypeCodes of the first geometry column.
- Throws:
SQLException - if this meta data does not contains a geometry field.
getFirstGeometryFieldIndex
int getFirstGeometryFieldIndex()
throws SQLException
- Returns:
- Column index of the first geometry in this result set.
- Throws:
SQLException
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.