public class IlvSDODataSource extends IlvTilableDataSource
IlvSDODataSource represents a data source used to read from an 
 Oracle SDO database.| Modifier and Type | Class and Description | 
|---|---|
| static class  | IlvSDODataSource.OracleIteratorAn internal  IlvMapRegionOfInterestIteratorto go over an 
 Oracle SDO connection. | 
| static class  | IlvSDODataSource.SDOLayerFilterSDOLayerFilterrepresents an SDO layer filter. | 
IlvHierarchicalDataSource.CriterionFilter, IlvHierarchicalDataSource.SingleAttributeFilterfeatureIterator, filename, nameMap, styleMaprenderer, usingGeodeticComputation| Constructor and Description | 
|---|
| IlvSDODataSource(IlvInputStream stream)Constructs an  IlvSDODataSourcefrom a specifiedIlvInputStreaminstance. | 
| IlvSDODataSource(IlvSDOConnection connection,
                boolean isObjectModel,
                String layerName)Constructs a new Oracle  IlvSDODataSourceusing the specified parameters | 
| Modifier and Type | Method and Description | 
|---|---|
| protected IlvMapRegionOfInterestIterator | createTiledIterator(IlvMapLayer layer)Creates an iterator that will iterate through the map features, for a 
 specific area of interest. | 
| protected void | createTiledLayers()Creates all possible map layers in the data source insertion layer that 
 may be needed when load on demand occurs. | 
| IlvMapReusableFeatureIterator | getFeatureIterator()Retrieves the feature iterator used by this data source. | 
| boolean | isMultiThreaded()Tests if the tiled layer created by this data source uses multithreading 
 to load tiles. | 
| protected boolean | isSourceDataAvailable()Checks whether the source data this  IlvMapDataSourceis
 based on is available (file, database connection, url...). | 
| void | write(IlvOutputStream stream)Writes this  IlvSDODataSourceto anIlvOutputStream; | 
createGenericTiles, getColumnCount, getLatMax, getLatMin, getLonMax, getLonMin, getRowCount, reset, setAreaOfinterest, setMultiThreaded, setTilingParameters, setupTiledLoaders, start, useTilingaddCriterionFilter, addLayer, createFeatureRenderer, createInsertionLayer, createStyle, getCriterionFilters, getFeatureRenderer, getFeatureRenderer, getKey, getMapLayer, getStyle, isAcceptNullValues, readInfo, removeAllCriterionFilters, removeCriterionFilter, setAcceptNullValues, setupLayeraddDataSourceListener, callListeners, getBackupDataSources, getCoordinateSystem, getDescription, getInsertionLayer, getManager, getName, getNode, getValidExtentions, hasInsertionLayer, initBackupDataSource, initInsertionLayer, isAttachingAttributes, isGrapherMode, isSaveBackupDataSources, isUsingBackupDataSource, isUsingGeodeticComputation, mapIntersects, removeDataSourceListener, setAttachingAttributes, setCoordinateSystem, setDescription, setFeatureRenderer, setForceUsingBackupDataSource, setGrapherMode, setInsertionLayer, setManager, setName, setSaveBackupDataSources, setValidExtentions, toStringpublic IlvSDODataSource(IlvInputStream stream) throws IlvReadFileException
IlvSDODataSource from a specified 
 IlvInputStream instance.stream - The input stream to read from.IlvReadFileException - If there is an error when reading from
 stream.public IlvSDODataSource(IlvSDOConnection connection, boolean isObjectModel, String layerName) throws MalformedURLException
IlvSDODataSource using the specified parametersconnection - The connection to the Oracle database.isObjectModel - Set to true to use the object model. 
 Set to false to use the relational model.layerName - The name of the layer to fetch from the database.MalformedURLException - if the JDBC URL in connection 
 is incorrect.public IlvMapReusableFeatureIterator getFeatureIterator()
getFeatureIterator in class IlvHierarchicalDataSourcepublic void write(IlvOutputStream stream) throws IOException
IlvSDODataSource to an
 IlvOutputStream;write in interface IlvPersistentObjectwrite in class IlvTilableDataSourcestream - The stream to write to.IOExceptionprotected IlvMapRegionOfInterestIterator createTiledIterator(IlvMapLayer layer)
createTiledIterator in class IlvTilableDataSourcelayer - The layer to create objects for.IlvTilableDataSource.createTiledIterator(ilog.views.maps.beans.IlvMapLayer)protected void createTiledLayers()
createTiledLayers in class IlvTilableDataSourceIlvTilableDataSource.createTiledLayers()public boolean isMultiThreaded()
isMultiThreaded in class IlvTilableDataSourcetrue is returned.IlvTilableDataSource.setMultiThreaded(boolean)protected boolean isSourceDataAvailable()
IlvMapDataSource is
 based on is available (file, database connection, url...). A
 .ivl, JViews Maps file keeps references to the original
 sources the map was built from. It can happen that these sources are not available when
 opening the map, for example, when the map is transferred to another machine. This method
 checks that availability. In the case where these sources are not available, all operations
 that need them are performed from the data embedded in the map, but there is a risk of loosing
 information (when reprojecting for example).
 This method should be overridden by subclasses.isSourceDataAvailable in class IlvMapDataSourcetrue, if the original source data is available.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.