Package ucar.nc2.ft.point.standard
Class Table
- java.lang.Object
-
- ucar.nc2.ft.point.standard.Table
-
- Direct Known Subclasses:
Table.TableArrayStructure,Table.TableConstruct,Table.TableMultidimInner,Table.TableMultidimInner3D,Table.TableNestedStructure,Table.TableSingleton,Table.TableStructure,Table.TableTop
public abstract class Table extends Object
A generalization of a Structure. Main function is to return a StructureDataIterator, iterating over its table rows- Since:
- Jan 20, 2009
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTable.CoordNamestatic classTable.TableArrayStructureArrayStructure is passed in config.as Used by UnidataPointFeature: type StationProfile (removed now)static classTable.TableConstructWhen theres no seperate station table, but info is duplicated in the obs structure.static classTable.TableContiguousContiguous children, using start and numRecords variables in the parent.static classTable.TableLinkedListLinked list of children, using start variable in the parent, and next in the child.static classTable.TableMultidimInnerstatic classTable.TableMultidimInner3Dstatic classTable.TableMultidimInnerPsuedoUsed for PsuedoStructure(station, time).static classTable.TableMultidimInnerPsuedo3Dstatic classTable.TableMultidimStructureUsed for Structure(station, time).static classTable.TableNestedStructureA Structure inside of a parent Structure.static classTable.TableParentIdThe children have a field containing the id of the parent.static classTable.TableParentIndexThe children have a field containing the index of the parent.static classTable.TableSingletonTable is a single StructureData, passed in as config.sdata.static classTable.TableStructureA Structure, PsuedoStructure, or Sequence.static classTable.TableTopTable is a single StructureData, which is empty.static classTable.Type
-
Constructor Summary
Constructors Modifier Constructor Description protectedTable(NetcdfDataset ds, TableConfig config)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddNonDataVariable(String name)static Tablefactory(NetcdfDataset ds, TableConfig config)VariableDSfindVariable(String axisName)FeatureTypegetFeatureType()StringgetName()abstract StructureDataIteratorgetStructureDataIterator(Cursor cursor)Iterate over the rows of this table.protected voidreplaceDataVars(StructureMembers sm)intshow(Formatter f, int indent)StringshowDimension()protected abstract voidshowTableExtraInfo(String indent, Formatter f)StringtoString()
-
-
-
Constructor Detail
-
Table
protected Table(NetcdfDataset ds, TableConfig config)
-
-
Method Detail
-
factory
public static Table factory(NetcdfDataset ds, TableConfig config)
-
addNonDataVariable
protected void addNonDataVariable(String name)
-
replaceDataVars
protected void replaceDataVars(StructureMembers sm)
-
getStructureDataIterator
public abstract StructureDataIterator getStructureDataIterator(Cursor cursor) throws IOException
Iterate over the rows of this table. Subclasses must implement this.- Parameters:
cursor- state of comlpete iteration. Table implementations may not modify.- Returns:
- iterater over the rows of this table.
- Throws:
IOException- on read error
-
getName
public String getName()
-
getFeatureType
public FeatureType getFeatureType()
-
findVariable
public VariableDS findVariable(String axisName)
-
showDimension
public String showDimension()
-
show
public int show(Formatter f, int indent)
-
-