ucar.nc2.ncml
Class AggregationUnion

java.lang.Object
  extended by ucar.nc2.ncml.Aggregation
      extended by ucar.nc2.ncml.AggregationUnion
All Implemented Interfaces:
ProxyReader

public class AggregationUnion
extends Aggregation

Class Description.

Version:
$Revision$ $Date$
Author:
caron

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.nc2.ncml.Aggregation
Aggregation.Dataset, Aggregation.DatasetProxyReader, Aggregation.DirectoryScan, Aggregation.MyFile, Aggregation.MyReplaceVariableCheck, Aggregation.Type
 
Field Summary
 
Fields inherited from class ucar.nc2.ncml.Aggregation
debug, debugCacheDetail, debugOpenFile, debugProxy, debugRead, debugScan, debugSyncDetail, dimName, diskCache2, explicitDatasets, formatter, isDate, lastChecked, logger, ncDataset, nestedDatasets, recheck, scanList, spiObject, type, TYPICAL_DATASET_LATEST, TYPICAL_DATASET_PENULTIMATE, TYPICAL_DATASET_RANDOM, typicalDatasetMode, wasChanged
 
Constructor Summary
AggregationUnion(NetcdfDataset ncd, java.lang.String dimName, java.lang.String recheckS)
           
 
Method Summary
 void addDatasetUnion(NetcdfDataset ds)
          Add a nested union dataset, which has been opened externally
protected  void buildDataset(boolean isNew, CancelTask cancelTask)
           
 void close()
          Release all resources associated with the aggregation
 java.util.List getUnionDatasets()
           
 
Methods inherited from class ucar.nc2.ncml.Aggregation
addDataset, addDirectoryScan, addExplicitDataset, addVariable, buildCoords, finish, getCoordinateType, getDimensionName, getNestedDatasets, getTotalCoords, getType, getTypicalDataset, getVariables, isDate, makeDataset, makeProxies, persist, persistRead, read, read, readAggCoord, readAggCoord, scan, setPersistenceCache, setTypicalDatasetMode, sync, syncDataset, syncExtend, timeToRescan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationUnion

public AggregationUnion(NetcdfDataset ncd,
                        java.lang.String dimName,
                        java.lang.String recheckS)
Method Detail

buildDataset

protected void buildDataset(boolean isNew,
                            CancelTask cancelTask)
                     throws java.io.IOException
Specified by:
buildDataset in class Aggregation
Throws:
java.io.IOException

addDatasetUnion

public void addDatasetUnion(NetcdfDataset ds)
Add a nested union dataset, which has been opened externally


getUnionDatasets

public java.util.List getUnionDatasets()

close

public void close()
           throws java.io.IOException
Release all resources associated with the aggregation

Overrides:
close in class Aggregation
Throws:
java.io.IOException