ucar.nc2.ft.point.standard
Class NestedTable
java.lang.Object
ucar.nc2.ft.point.standard.NestedTable
public class NestedTable
- extends java.lang.Object
Implements "nested table" views of point feature datasets.
A nested (aka flattened) 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.
- Since:
- Mar 28, 2008
- Author:
- caron
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getFeatureType
public FeatureType getFeatureType()
isOk
public boolean isOk()
getTimeUnit
public DateUnit getTimeUnit()
getDataVariables
public java.util.List<VariableSimpleIF> getDataVariables()
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
show
public void show(java.util.Formatter formatter)
getObsDataIterator
public StructureDataIterator getObsDataIterator(int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException
getStationDataIterator
public StructureDataIterator getStationDataIterator(int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException
getStationObsDataIterator
public StructureDataIterator getStationObsDataIterator(StructureData stationData,
int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException
getStationProfileDataIterator
public StructureDataIterator getStationProfileDataIterator(StructureData stationData,
int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException
getStationProfileObsDataIterator
public StructureDataIterator getStationProfileObsDataIterator(java.util.List<StructureData> structList,
int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException
getTime
public double getTime(java.util.List<StructureData> structList)
getEarthLocation
public EarthLocation getEarthLocation(java.util.List<StructureData> structList)
makeStation
public Station makeStation(StructureData stationData)
makeObsStructureData
public StructureData makeObsStructureData(java.util.List<StructureData> structList)