public class NestedTable
extends java.lang.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 java.lang.String getTimeName()
public CalendarDateUnit getTimeUnit()
public java.lang.String getAltName()
public java.lang.String getAltUnits()
public java.util.List<VariableSimpleIF> getDataVariables()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public void show(java.util.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 java.lang.String getFeatureName(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 java.io.IOException
java.io.IOException
public StructureDataIterator getStationDataIterator() throws java.io.IOException
java.io.IOException
public StructureDataIterator getRootFeatureDataIterator() throws java.io.IOException
java.io.IOException
public StructureDataIterator getLeafFeatureDataIterator(Cursor cursor) throws java.io.IOException
java.io.IOException
public StructureDataIterator getMiddleFeatureDataIterator(Cursor cursor) throws java.io.IOException
java.io.IOException
public int getStationNestingLevel()