public class IlvDB2DataSource extends IlvDBDataSource
IlvDBDataSource
for DB2 databases.IlvHierarchicalDataSource.CriterionFilter, IlvHierarchicalDataSource.SingleAttributeFilter
filename, nameMap, styleMap
renderer, usingGeodeticComputation
Constructor and Description |
---|
IlvDB2DataSource(IlvDB2ConnectionInfo connection,
String layerName)
Creates a new data source for DB2 databases.
|
IlvDB2DataSource(IlvInputStream stream)
Reads a data source from an
IlvInputStream . |
Modifier and Type | Method and Description |
---|---|
protected IlvDBFeatureIterator |
createFeatureIterator()
Creates and returns an iterator on the database feature.
|
protected ilog.views.maps.datasource.ibm.internal.DBLayerMetaData |
getLayerMetaData()
Fetches the layer meta data.
|
createTiledIterator, createTiledLayers, getCoordinateSystem, getDBConnectionInfo, getFeatureIterator, getGeometryColumn, getInsertionLayer, getRowLimit, initInsertionLayer, setRowLimit, write
createGenericTiles, getColumnCount, getLatMax, getLatMin, getLonMax, getLonMin, getRowCount, isMultiThreaded, reset, setAreaOfinterest, setMultiThreaded, setTilingParameters, setupTiledLoaders, start, useTiling
addCriterionFilter, addLayer, createFeatureRenderer, createInsertionLayer, createStyle, getCriterionFilters, getFeatureRenderer, getFeatureRenderer, getKey, getMapLayer, getStyle, isAcceptNullValues, readInfo, removeAllCriterionFilters, removeCriterionFilter, setAcceptNullValues, setupLayer
addDataSourceListener, callListeners, getBackupDataSources, getDescription, getManager, getName, getNode, getValidExtentions, hasInsertionLayer, initBackupDataSource, isAttachingAttributes, isGrapherMode, isSaveBackupDataSources, isSourceDataAvailable, isUsingBackupDataSource, isUsingGeodeticComputation, mapIntersects, removeDataSourceListener, setAttachingAttributes, setCoordinateSystem, setDescription, setFeatureRenderer, setForceUsingBackupDataSource, setGrapherMode, setInsertionLayer, setManager, setName, setSaveBackupDataSources, setValidExtentions, toString
public IlvDB2DataSource(IlvDB2ConnectionInfo connection, String layerName) throws SQLException, IOException
connection
- The database connection.layerName
- The layer name.SQLException
IOException
public IlvDB2DataSource(IlvInputStream stream) throws IlvReadFileException, SQLException, IOException
IlvInputStream
.stream
- The stream to read from.IlvReadFileException
- if there is a problem reading from
stream
.SQLException
IOException
protected IlvDBFeatureIterator createFeatureIterator() throws SQLException, IOException
createFeatureIterator
in class IlvDBDataSource
SQLException
- if database query is incorrect.IOException
- if the database connection went bad.protected ilog.views.maps.datasource.ibm.internal.DBLayerMetaData getLayerMetaData() throws SQLException, IOException
getLayerMetaData
in class IlvDBDataSource
SQLException
IOException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.