@ThreadSafe public abstract class InvDatasetFeatureCollection extends InvCatalogRef implements CollectionManager.TriggerListener
| Modifier and Type | Class and Description |
|---|---|
protected class |
InvDatasetFeatureCollection.State |
| Modifier and Type | Field and Description |
|---|---|
protected InvService |
cdmrService |
protected FeatureCollectionConfig |
config |
protected static String |
context |
protected CollectionManager |
dcm |
protected FeatureType |
featureType |
protected static String |
FILES |
protected static String |
LATEST_DATASET |
protected static String |
LATEST_DATASET_NAME |
protected static String |
LATEST_SERVICE |
protected Object |
lock |
protected InvService |
orgService |
protected String |
path |
protected InvDatasetFeatureCollection.State |
state |
protected String |
topDirectory |
protected static String |
Virtual_Services |
protected InvService |
virtualService |
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, variableMapLink, variables| Modifier | Constructor and Description |
|---|---|
protected |
InvDatasetFeatureCollection(InvDatasetImpl parent,
String name,
String path,
FeatureType featureType,
FeatureCollectionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract InvDatasetFeatureCollection.State |
checkState()
a request has come in, check that the state is up-to-date
|
static InvDatasetFeatureCollection |
factory(InvDatasetImpl parent,
String name,
String path,
FeatureType featureType,
FeatureCollectionConfig config) |
protected void |
finishConstruction() |
protected void |
firstInit() |
protected String |
getCatalogHref(String what) |
FeatureCollectionConfig |
getConfig() |
CollectionManager |
getDatasetCollectionManager() |
List<InvDataset> |
getDatasets()
Get a list of all the nested datasets.
|
FeatureDatasetPoint |
getFeatureDatasetPoint() |
File |
getFile(String remaining) |
GridDataset |
getGridDataset(String matchPath)
Get the associated Grid Dataset, if any.
|
NetcdfDataset |
getNetcdfDataset(String matchPath)
Get the dataset named by the path.
|
String |
getPath() |
InvDatasetScan |
getRawFileScan() |
String |
getTopDirectoryLocation() |
void |
handleCollectionEvent(CollectionManager.TriggerEvent event) |
abstract InvCatalogImpl |
makeCatalog(String match,
String orgPath,
URI baseURI)
Get one of the catalogs contained in this collection,
called by DataRootHandler.makeDynamicCatalog()
|
protected InvCatalogImpl |
makeCatalogTop(URI baseURI,
InvDatasetFeatureCollection.State localState)
Make the containing catalog of this feature collection
|
protected InvService |
makeVirtualService(InvService org) |
static void |
setCatalogServletName(String catServletName) |
static void |
setCdmrFeatureServiceUrlPath(String urlPath) |
static void |
setContext(String c) |
abstract void |
update(CollectionManager.Force force)
Collection was changed, update internal objects.
|
abstract void |
updateProto()
update the proto dataset being used.
|
equals, findDatasetByName, findProperty, findService, finish, getAccess, getAccess, getAlias, getAuthority, getCalendarDateCoverage, getCollectionType, getContributors, getCreators, getDataFormatType, getDataType, getDates, getDocumentation, getDocumentation, getFullName, getGeospatialCoverage, getID, getKeywords, getMark, getMetadata, getMetadata, getName, getParent, getProjects, getProperties, getProxyDataset, getPublishers, getServiceDefault, getUniqueID, getURI, getUrlPath, getUserProperty, getVariableMapLink, 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, getTimeCoverage, getVariablesprotected static final String FILES
protected static final String LATEST_DATASET
protected static final String LATEST_DATASET_NAME
protected static final String LATEST_SERVICE
protected static final String Virtual_Services
protected static String context
protected InvService orgService
protected InvService virtualService
protected InvService cdmrService
protected final String path
protected final FeatureType featureType
protected final FeatureCollectionConfig config
protected final String topDirectory
protected CollectionManager dcm
protected InvDatasetFeatureCollection.State state
protected final Object lock
protected InvDatasetFeatureCollection(InvDatasetImpl parent, String name, String path, FeatureType featureType, FeatureCollectionConfig config)
public static void setContext(String c)
public static void setCatalogServletName(String catServletName)
public static void setCdmrFeatureServiceUrlPath(String urlPath)
public static InvDatasetFeatureCollection factory(InvDatasetImpl parent, String name, String path, FeatureType featureType, FeatureCollectionConfig config)
protected void finishConstruction()
protected void firstInit()
public void handleCollectionEvent(CollectionManager.TriggerEvent event)
handleCollectionEvent in interface CollectionManager.TriggerListenerpublic abstract void update(CollectionManager.Force force)
force - test : update index if anything changed or nocheck - use index if it existspublic abstract void updateProto()
protected abstract InvDatasetFeatureCollection.State checkState() throws IOException
IOException - on read errorpublic String getPath()
public String getTopDirectoryLocation()
public FeatureCollectionConfig getConfig()
public CollectionManager getDatasetCollectionManager()
public InvDatasetScan getRawFileScan()
public List<InvDataset> getDatasets()
InvCatalogRefgetDatasets in class InvCatalogRefprotected InvService makeVirtualService(InvService org)
public abstract InvCatalogImpl makeCatalog(String match, String orgPath, 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(URI baseURI, InvDatasetFeatureCollection.State localState) throws IOException, URISyntaxException
baseURI - base URI of the requestlocalState - current state to useIOException - on I/O errorURISyntaxException - if path is misformedpublic GridDataset getGridDataset(String matchPath) throws IOException
matchPath - match.remainingIOException - on errorpublic FeatureDatasetPoint getFeatureDatasetPoint()
public NetcdfDataset getNetcdfDataset(String matchPath) throws IOException
matchPath - remaining path from matchIOException - if read errorCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.