See: Description
Class | Description |
---|---|
DataStore |
A storage object which manage a series of features, coverages or sensor data.
|
DataStoreProvider |
Creates
DataStore instances for a specific format from a given StorageConnector input. |
StorageConnector |
Information for creating a connection to a
DataStore in read and/or write mode. |
Exception | Description |
---|---|
DataStoreException |
Thrown when a
DataStore can not complete a read or write operation. |
Different DataStore
implementations will want different kind of input/output objects. Some examples are
String
, Path
, File
, URI
, URL
,
InputStream
, ImageInputStream
, ReadableChannel
,
JDBC Connection
or DataSource
, or even
datastore-specific objects like NetcdfFile
.
Because of this variety, SIS does not know which kind of object to accept before the appropriate DataStore
instance has been found. For this reason, storages are represented by arbitrary Object
encapsulated
in StorageConnector
. The later can open the object in various ways, for example
as DataInput
or as ByteBuffer
, depending on DataStore needs
.
Future versions may contain additional information like login/password.
StorageConnector
is used only for the "discovery" phase, and discarded once the actual
DataStore
instance has been created.
Defined in the sis-storage module
Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.