public class IlvSDOFeatureIterator extends Object implements IlvMapFeatureIterator
IlvMapFeature objects. It supports the relational
implementation of Oracle Spatial.
The supported Oracle geometries are: POINT, LINESTRING and POLYGON.
IlvSDOWriter| Constructor and Description |
|---|
IlvSDOFeatureIterator(Connection connection,
String query)
Initializes a feature iterator that can iterate over the result of
a specified query.
|
IlvSDOFeatureIterator(ResultSet resultSet)
Initializes a feature iterator that can iterate over a
ResultSet. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Releases the resources allocated by the feature iterator.
|
IlvCoordinateSystem |
getCoordinateSystem()
Returns the spatial reference system that describes the coordinate
system of geometric coordinates of the map features.
|
IlvFeatureRenderer |
getDefaultFeatureRenderer()
Returns the default feature renderer.
|
IlvCoordinate |
getLowerRightCorner()
Returns a
null pointer. |
IlvMapFeature |
getNextFeature()
Converts the next SDO geometry of the iterator into an
IlvMapFeature object. |
IlvCoordinate |
getUpperLeftCorner()
Returns a
null pointer. |
boolean |
isGeoreferenced()
Returns
true if a coordinate system has been assigned to the iterator. |
boolean |
isLoadingAttributes()
Returns
false. |
void |
setCoordinateSystem(IlvCoordinateSystem cs)
Used to specify the source coordinate system of the geometries stored in the SDO database.
|
public IlvSDOFeatureIterator(ResultSet resultSet) throws SQLException
ResultSet.
and return the SDO geometries as Rogue Wave JViews
IlvMapFeature instances.resultSet - The ResultSet of a query to an SDO layer.SQLExceptionpublic IlvSDOFeatureIterator(Connection connection, String query) throws SQLException
connection - The connection to an Oracle SDO database.query - An SQL query to an SDO layer.SQLExceptionpublic boolean isGeoreferenced()
true if a coordinate system has been assigned to the iterator.isGeoreferenced in interface IlvMapFeatureIteratorsetCoordinateSystem(ilog.views.maps.srs.coordsys.IlvCoordinateSystem)public IlvFeatureRenderer getDefaultFeatureRenderer()
getDefaultFeatureRenderer in interface IlvMapFeatureIteratorpublic IlvCoordinateSystem getCoordinateSystem()
getCoordinateSystem in interface IlvMapFeatureIteratornull
if the coordinate system is unknown.public void setCoordinateSystem(IlvCoordinateSystem cs)
IlvMapFeatures produced by
this iterator.cs - The coordinate system of the iterator.public IlvCoordinate getUpperLeftCorner()
null pointer.getUpperLeftCorner in interface IlvMapFeatureIteratorpublic IlvCoordinate getLowerRightCorner()
null pointer.getLowerRightCorner in interface IlvMapFeatureIteratorpublic boolean isLoadingAttributes()
false.public void dispose()
dispose in interface IlvMapFeatureIteratorpublic IlvMapFeature getNextFeature() throws IOException
IlvMapFeature object. The id
of the returned map feature is set to the SDO_GID of
the SDO geometry.getNextFeature in interface IlvMapFeatureIteratorIOException - if an error occurs while extracting data.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.