|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.format.oracle.IlvSDOFeatureIterator
public class IlvSDOFeatureIterator
This class converts Oracle SDO geometries retrieved from an Oracle database
into ILOG JViews IlvMapFeature objects. It supports the relational
implementation of Oracle Spatial.
The supported Oracle geometries are: POINT, LINESTRING and POLYGON.
IlvSDOWriter| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvSDOFeatureIterator(ResultSet resultSet)
throws SQLException
ResultSet.
and return the SDO geometries as ILOG JViews
IlvMapFeature instances.
resultSet - The ResultSet of a query to an SDO layer.
SQLException
public IlvSDOFeatureIterator(Connection connection,
String query)
throws SQLException
connection - The connection to an Oracle SDO database.query - An SQL query to an SDO layer.
SQLException| Method Detail |
|---|
public 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 IlvMapFeatureIterator
public 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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||