@ThreadSafe public abstract class InvDatasetFeatureCollection extends InvCatalogRef implements DatasetCollectionManager.TriggerListener
| Modifier and Type | Class and Description |
|---|---|
static class |
InvDatasetFeatureCollection.ScanFilter |
protected class |
InvDatasetFeatureCollection.State |
| Modifier and Type | Field and Description |
|---|---|
protected InvService |
cdmrService |
protected FeatureCollectionConfig |
config |
protected DatasetCollectionManager |
dcm |
protected FeatureType |
featureType |
protected static java.lang.String |
FILES |
protected java.util.regex.Pattern |
filter |
protected java.lang.Object |
lock |
protected java.lang.String |
path |
protected InvDatasetFeatureCollection.State |
state |
protected java.lang.String |
topDirectory |
protected static java.lang.String |
Virtual_Services |
log, mark, ncmlElement, tm, tmi, tmi6access, authorityName, catalog, collectionType, contributors, creators, dataFormatType, datasets, dataType, dates, defaultService, docs, gc, harvest, id, keywords, metadata, name, parent, projects, properties, publishers, restrictAccess, services, tc, variables| Modifier | Constructor and Description |
|---|---|
protected |
InvDatasetFeatureCollection(InvDatasetImpl parent,
java.lang.String name,
java.lang.String path,
FeatureType featureType,
FeatureCollectionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract InvDatasetFeatureCollection.State |
checkState() |
static InvDatasetFeatureCollection |
factory(InvDatasetImpl parent,
java.lang.String name,
java.lang.String path,
FeatureType featureType,
FeatureCollectionConfig config) |
protected java.lang.String |
getCatalogHref(java.lang.String what) |
FeatureCollectionConfig |
getConfig() |
DatasetCollectionManager |
getDatasetCollectionManager() |
java.util.List<InvDataset> |
getDatasets()
Get a list of all the nested datasets.
|
FeatureDatasetPoint |
getFeatureDatasetPoint() |
java.io.File |
getFile(java.lang.String remaining) |
GridDataset |
getGridDataset(java.lang.String matchPath)
Get the associated Grid Dataset, if any.
|
NetcdfDataset |
getNetcdfDataset(java.lang.String matchPath)
Get the dataset named by the path.
|
java.lang.String |
getPath() |
InvDatasetScan |
getRawFileScan() |
java.lang.String |
getTopDirectoryLocation() |
void |
handleCollectionEvent(DatasetCollectionManager.TriggerEvent event) |
abstract InvCatalogImpl |
makeCatalog(java.lang.String match,
java.lang.String orgPath,
java.net.URI baseURI)
Get one one of the catalogs contained in this dataset,
called by DataRootHandler.makeDynamicCatalog()
|
protected InvCatalogImpl |
makeCatalogTop(java.net.URI baseURI,
InvDatasetFeatureCollection.State localState)
Make the containing catalog for this dataset
|
protected InvService |
makeVirtualService(InvService org) |
static void |
setCatalogServletName(java.lang.String catServletName) |
static void |
setCdmrFeatureServiceUrlPath(java.lang.String urlPath) |
static void |
setContext(java.lang.String c) |
boolean |
triggerRescan() |
abstract void |
update() |
abstract void |
updateProto() |
equals, findDatasetByName, findProperty, findService, finish, getAccess, getAccess, getAlias, getAuthority, getCollectionType, getContributors, getCreators, getDataFormatType, getDataType, getDates, getDocumentation, getDocumentation, getFullName, getGeospatialCoverage, getID, getKeywords, getMark, getMetadata, getMetadata, getName, getParent, getProjects, getProperties, getProxyDataset, getPublishers, getServiceDefault, getTimeCoverage, getUniqueID, getURI, getUrlPath, getUserProperty, getVariables, getXlinkHref, hasAccess, hashCode, hasNestedDatasets, isHarvest, isRead, readAsynch, release, setXlinkHrefaddAccess, addAccess, addDataset, addDataset, addDocumentation, addProperty, addService, canonicalize, dump, getAccessLocal, getDataSize, getLastModifiedDate, getLocalMetadata, getLocalMetadataInheritable, getNcmlElement, getParentReal, getServiceName, getServicesLocal, main, removeDataset, removeLocalMetadata, removeService, replaceDataset, resolve, setAlias, setAuthority, setCatalog, setCollectionType, setContributors, setDataFormatType, setDataSize, setDataType, setGeospatialCoverage, setHarvest, setID, setKeywords, setLastModifiedDate, setLastModifiedDate, setLocalMetadata, setMark, setName, setNcmlElement, setParent, setProjects, setPublishers, setResourceControl, setServiceName, setServicesLocal, setTimeCoverage, setUrlPath, setUserProperty, toString, transferMetadata, writeHtmlDescription, writeHtmlDescriptionfindAccess, getCatalogUrl, getHistory, getParentCatalog, getProcessing, getRestrictAccess, getRights, getSubsetUrl, getSummary, getVariablesprotected static final java.lang.String FILES
protected static final java.lang.String Virtual_Services
protected final java.lang.String path
protected final FeatureType featureType
protected final FeatureCollectionConfig config
protected InvService cdmrService
protected final DatasetCollectionManager dcm
protected final java.lang.String topDirectory
protected final java.util.regex.Pattern filter
protected InvDatasetFeatureCollection.State state
protected final java.lang.Object lock
protected InvDatasetFeatureCollection(InvDatasetImpl parent, java.lang.String name, java.lang.String path, FeatureType featureType, FeatureCollectionConfig config)
public static void setContext(java.lang.String c)
public static void setCatalogServletName(java.lang.String catServletName)
public static void setCdmrFeatureServiceUrlPath(java.lang.String urlPath)
protected java.lang.String getCatalogHref(java.lang.String what)
public static InvDatasetFeatureCollection factory(InvDatasetImpl parent, java.lang.String name, java.lang.String path, FeatureType featureType, FeatureCollectionConfig config)
public void handleCollectionEvent(DatasetCollectionManager.TriggerEvent event)
handleCollectionEvent in interface DatasetCollectionManager.TriggerListenerpublic boolean triggerRescan()
public abstract void update()
public abstract void updateProto()
protected abstract InvDatasetFeatureCollection.State checkState() throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getPath()
public java.lang.String getTopDirectoryLocation()
public FeatureCollectionConfig getConfig()
public DatasetCollectionManager getDatasetCollectionManager()
public InvDatasetScan getRawFileScan()
public java.util.List<InvDataset> getDatasets()
InvCatalogRefgetDatasets in class InvCatalogRefprotected InvService makeVirtualService(InvService org)
public abstract InvCatalogImpl makeCatalog(java.lang.String match, java.lang.String orgPath, java.net.URI baseURI)
match - match.remainingorgPath - the path for the request.baseURI - the base URI for the catalog, used to resolve relative URLs.protected InvCatalogImpl makeCatalogTop(java.net.URI baseURI, InvDatasetFeatureCollection.State localState) throws java.io.IOException, java.net.URISyntaxException
baseURI - base URI of the requestlocalState - current state to usejava.io.IOException - on I/O errorjava.net.URISyntaxException - if path is misformedpublic GridDataset getGridDataset(java.lang.String matchPath) throws java.io.IOException
matchPath - match.remainingjava.io.IOException - on errorpublic FeatureDatasetPoint getFeatureDatasetPoint()
public NetcdfDataset getNetcdfDataset(java.lang.String matchPath) throws java.io.IOException
matchPath - remaining path from matchjava.io.IOException - if read errorpublic java.io.File getFile(java.lang.String remaining)