public class NestedTable extends Object
A nested table starts with a leaf table (no children), plus all of its parents. There is a "join" for each child and parent.
Assumes that we have Tables that can be iterated over with a StructureDataIterator. A parent-child join assumes that for each row of the parent, a StructureDataIterator exists that iterates over the rows of the child table for that parent.
Nested Tables must be put in canonical form, based on feature type:
public FeatureType getFeatureType()
public int getNumberOfLevels()
public boolean hasCoords()
public CalendarDateUnit getTimeUnit()
public String getAltUnits()
public List<VariableSimpleIF> getDataVariables()
public String getName()
public void show(Formatter formatter)
public double getObsTime(Cursor cursor)
public double getNomTime(Cursor cursor)
public double getLatitude(Cursor cursor)
public double getLongitude(Cursor cursor)
public EarthLocation getEarthLocation(Cursor cursor)
public boolean isFeatureMissing(StructureData sdata)
public boolean isTimeMissing(Cursor cursor)
public boolean isAltMissing(Cursor cursor)
public boolean isMissing(Cursor cursor)
public StructureData makeObsStructureData(Cursor cursor)
public StructureData makeObsStructureData(Cursor cursor, int nest)
public StructureDataIterator getObsDataIterator(Cursor cursor) throws IOException
IOExceptionpublic StructureDataIterator getStationDataIterator() throws IOException
IOExceptionpublic StructureDataIterator getRootFeatureDataIterator() throws IOException
IOExceptionpublic StructureDataIterator getLeafFeatureDataIterator(Cursor cursor) throws IOException
IOExceptionpublic StructureDataIterator getMiddleFeatureDataIterator(Cursor cursor) throws IOException
IOException