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 class
Table.CoordName
static class
Table.TableArrayStructure
ArrayStructure is passed in config.as Used by UnidataPointFeature: type StationProfile (removed now)static class
Table.TableConstruct
When theres no separate station table, but info is duplicated in the obs structure.static class
Table.TableContiguous
Contiguous children, using start and numRecords variables in the parent.static class
Table.TableLinkedList
Linked list of children, using start variable in the parent, and next in the child.static class
Table.TableMultidimInner
static class
Table.TableMultidimInner3D
static class
Table.TableMultidimInnerPsuedo
Used for PsuedoStructure(station, time).static class
Table.TableMultidimInnerPsuedo3D
static class
Table.TableMultidimStructure
Used for Structure(station, time).static class
Table.TableNestedStructure
A Structure inside of a parent Structure.static class
Table.TableParentId
The children have a field containing the id of the parent.static class
Table.TableParentIndex
The children have a field containing the index of the parent.static class
Table.TableSingleton
Table is a single StructureData, passed in as config.sdata.static class
Table.TableStructure
A Structure, PsuedoStructure, or Sequence.static class
Table.TableTop
Table is a single StructureData, which is empty.static class
Table.Type
-
Constructor Summary
Constructors Modifier Constructor Description protected
Table(NetcdfDataset ds, TableConfig config)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addNonDataVariable(String name)
static Table
factory(NetcdfDataset ds, TableConfig config)
VariableDS
findVariable(String axisName)
FeatureType
getFeatureType()
String
getName()
abstract StructureDataIterator
getStructureDataIterator(Cursor cursor)
Iterate over the rows of this table.protected void
replaceDataVars(StructureMembers sm)
int
show(Formatter f, int indent)
String
showDimension()
protected abstract void
showTableExtraInfo(String indent, Formatter f)
String
toString()
-
-
-
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)
-
-