public abstract class JDBCAccessCustom extends Object implements JDBCAccess
| Constructor and Description |
|---|
JDBCAccessCustom(Config config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeConnection(Connection con)
closeConnection
|
Config |
getConfig() |
protected Connection |
getConnection()
getConnection
|
protected CoordinateReferenceSystem |
getCRS()
getCRS
|
ImageLevelInfo |
getLevelInfo(int level) |
List<ImageLevelInfo> |
getLevelInfos() |
int |
getNumOverviews() |
abstract void |
initialize()
initialze the the JDBCAccess object, has to be called exactly once
|
abstract void |
startTileDecoders(Rectangle pixelDimension,
GeneralEnvelope requestEnvelope,
ImageLevelInfo info,
LinkedBlockingQueue<TileQueueElement> tileQueue,
GridCoverageFactory coverageFactory)
Method for starting the main action, getting the neccessairy tiles and decoding them in a
multithreaded manner
|
public JDBCAccessCustom(Config config) throws IOException
IOExceptionpublic ImageLevelInfo getLevelInfo(int level)
getLevelInfo in interface JDBCAccesslevel - the level (0 is original, 1 is first pyramid,...)public int getNumOverviews()
getNumOverviews in interface JDBCAccesspublic abstract void initialize()
throws SQLException,
IOException
JDBCAccessinitialize in interface JDBCAccessSQLExceptionIOExceptionpublic abstract void startTileDecoders(Rectangle pixelDimension, GeneralEnvelope requestEnvelope, ImageLevelInfo info, LinkedBlockingQueue<TileQueueElement> tileQueue, GridCoverageFactory coverageFactory) throws IOException
JDBCAccessstartTileDecoders in interface JDBCAccesspixelDimension - the needed pixel dimensionrequestEnvelope - the needed envelope in world coordinatesinfo - the corresponding ImageLevelInfo objecttileQueue - a queue where to put the thread resultscoverageFactory - GridCoverageFactoryIOExceptionprotected Connection getConnection()
protected void closeConnection(Connection con)
protected CoordinateReferenceSystem getCRS()
public Config getConfig()
public List<ImageLevelInfo> getLevelInfos()
Copyright © 1996–2021 Geotools. All rights reserved.