org.geotools.gce.imagemosaic.jdbc
Interface JDBCAccess

All Known Implementing Classes:
JDBCAccessCustom, JDBCAccessOracleGeoRaster

public interface JDBCAccess

This interface lists the methods wich are used by the ImageMosaicJDBCReader class to interact with the database system.

Author:
mcr

Method Summary
 ImageLevelInfo getLevelInfo(int level)
           
 int getNumOverviews()
           
 void initialize()
          initialze the the JDBCAccess object, has to be called exactly once
 void startTileDecoders(java.awt.Rectangle pixelDimension, GeneralEnvelope requestEnvelope, ImageLevelInfo info, java.util.concurrent.LinkedBlockingQueue<TileQueueElement> tileQueue, GridCoverageFactory coverageFactory)
          Method for starting the main action, getting the neccessairy tiles and decoding them in a multithreaded manner
 

Method Detail

startTileDecoders

void startTileDecoders(java.awt.Rectangle pixelDimension,
                       GeneralEnvelope requestEnvelope,
                       ImageLevelInfo info,
                       java.util.concurrent.LinkedBlockingQueue<TileQueueElement> tileQueue,
                       GridCoverageFactory coverageFactory)
                       throws java.io.IOException
Method for starting the main action, getting the neccessairy tiles and decoding them in a multithreaded manner

Parameters:
pixelDimension - the needed pixel dimension
requestEnvelope - the needed envelope in world coordinates
info - the corresponding ImageLevelInfo object
tileQueue - a queue where to put the thread results
coverageFactory - GridCoverageFactory
Throws:
java.io.IOException

getLevelInfo

ImageLevelInfo getLevelInfo(int level)
Parameters:
level - the level (0 is original, 1 is first pyramid,...)
Returns:
the corresponding ImageLevelInfo object

getNumOverviews

int getNumOverviews()
Returns:
the number of existing pyramids

initialize

void initialize()
                throws java.sql.SQLException,
                       java.io.IOException
initialze the the JDBCAccess object, has to be called exactly once

Throws:
java.sql.SQLException
java.io.IOException


Copyright © 1996-2010 Geotools. All Rights Reserved.