public final class AggregatingDataSource extends AbstractDataSource
| Modifier and Type | Class and Description |
|---|---|
class |
AggregatingDataSource.AggTimeSeriesBrowse
TimeSeriesBrowse allows users to look up new intervals automatically.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MSG_NO_FILES_FOUND
message used when no files are found in the interval.
|
static java.lang.String |
PARAM_AVAIL |
params, resourceURI, uri| Constructor and Description |
|---|
AggregatingDataSource(java.net.URI uri,
DataSourceFactory delegateFactory)
Creates a new instance of AggregatingDataSource
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list.
|
QDataSet |
getDataSet(ProgressMonitor mon)
read the data.
|
QDataSet |
getDataSet(ProgressMonitor mon,
DatumRange lviewRange,
Datum lresolution) |
FileStorageModel |
getFsm() |
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata(ProgressMonitor mon)
returns the metadata provided by the first delegate dataset.
|
MetadataModel |
getMetadataModel()
return a MetadataModel object that can make the metadata canonical.
|
Datum |
getResolution() |
protected java.lang.String |
getSParams() |
java.lang.String |
getURI()
return the fully-qualified URI of this data source, including the "vap+
|
DatumRange |
getViewRange()
Getter for property viewRange.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list.
|
void |
setFsm(FileStorageModel fsm) |
void |
setParams(java.lang.String params)
Setter for property args.
|
void |
setResolution(Datum resolution) |
void |
setViewRange(DatumRange viewRange)
Setter for property viewRange.
|
addCability, addCapability, asynchronousLoad, doWhereFilter, getCapability, getExt, getExt, getFile, getFile, getFile, getHtmlFile, getInputStream, getParam, getParams, getProperties, toStringpublic static final java.lang.String MSG_NO_FILES_FOUND
public static final java.lang.String PARAM_AVAIL
public AggregatingDataSource(java.net.URI uri,
DataSourceFactory delegateFactory)
throws java.net.MalformedURLException,
FileSystem.FileSystemOfflineException,
java.io.IOException,
java.text.ParseException
uri - the URIdelegateFactory - the factory used to read each granule.java.net.MalformedURLExceptionFileSystem.FileSystemOfflineExceptionjava.text.ParseExceptionjava.io.IOExceptionpublic QDataSet getDataSet(ProgressMonitor mon) throws java.lang.Exception
getDataSet in interface DataSourcegetDataSet in class AbstractDataSourcemon - java.lang.Exceptionpublic QDataSet getDataSet(ProgressMonitor mon, DatumRange lviewRange, Datum lresolution) throws java.lang.Exception
java.lang.Exceptionpublic MetadataModel getMetadataModel()
AbstractDataSourcegetMetadataModel in interface DataSourcegetMetadataModel in class AbstractDataSourcepublic java.util.Map<java.lang.String,java.lang.Object> getMetadata(ProgressMonitor mon) throws java.lang.Exception
getMetadata in interface DataSourcegetMetadata in class AbstractDataSourcemon - progress monitorjava.lang.Exceptionpublic Datum getResolution()
public void setResolution(Datum resolution)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - The listener to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - The listener to remove.public DatumRange getViewRange()
public void setViewRange(DatumRange viewRange)
viewRange - New value of property viewRange.public FileStorageModel getFsm()
public void setFsm(FileStorageModel fsm)
public void setParams(java.lang.String params)
args - New value of property args.protected java.lang.String getSParams()
public java.lang.String getURI()
DataSourcegetURI in interface DataSourcegetURI in class AbstractDataSource