Class GetTiles
java.lang.Object
org.deltava.dao.jedis.JedisDAO
org.deltava.dao.jedis.GetTiles
- All Implemented Interfaces:
SeriesReader
A Data Access Object to read tiles from Jedis.
- Since:
- 5.0
- Version:
- 11.3
- Author:
- Luke
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads available image dates for a given type.getTile
(String imgType, Instant effDate, TileAddress addr) Reads a tile.getTypes()
Lists the available imagery types.
-
Constructor Details
-
GetTiles
public GetTiles()
-
-
Method Details
-
getTypes
Description copied from interface:SeriesReader
Lists the available imagery types.- Specified by:
getTypes
in interfaceSeriesReader
- Returns:
- a Collection of types
- Throws:
DAOException
- if an error occurs
-
getDates
Description copied from interface:SeriesReader
Reads available image dates for a given type.- Specified by:
getDates
in interfaceSeriesReader
- Parameters:
type
- the image type- Returns:
- a Collection of Dates
- Throws:
DAOException
- if a timeout or I/O error occurs
-
getTile
Description copied from interface:SeriesReader
Reads a tile.- Specified by:
getTile
in interfaceSeriesReader
- Parameters:
imgType
- the image typeeffDate
- the effective dateaddr
- the TileAddress- Returns:
- a PNGTile, or null if none
- Throws:
DAOException
- if an error occurs
-