ucar.nc2.ft.point.standard
Class JoinMuiltdimStructure

java.lang.Object
  extended by ucar.nc2.ft.point.standard.JoinMuiltdimStructure
All Implemented Interfaces:
Join

public class JoinMuiltdimStructure
extends Object
implements Join

Join data from a row of a Structure, whose index is passed in as recnum[0] / dimLen

Since:
May 29, 2009
Author:
caron

Constructor Summary
JoinMuiltdimStructure(StructureDS parentStructure, int dimLength)
          Constructor.
 
Method Summary
 VariableDS findVariable(String axisName)
          Find the Variable of the given name in the joined table.
 StructureData getJoinData(Cursor cursor)
          Get 'join' data to be added to the row.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JoinMuiltdimStructure

public JoinMuiltdimStructure(StructureDS parentStructure,
                             int dimLength)
Constructor.

Parameters:
parentStructure - get data from this Structure
dimLength - structure index is recnum % dimlength
Method Detail

getJoinData

public StructureData getJoinData(Cursor cursor)
Description copied from interface: Join
Get 'join' data to be added to the row.

Specified by:
getJoinData in interface Join
Parameters:
cursor - the state of the iteration
Returns:
extra data to be added to the row

findVariable

public VariableDS findVariable(String axisName)
Description copied from interface: Join
Find the Variable of the given name in the joined table.

Specified by:
findVariable in interface Join
Parameters:
axisName - find this Variable
Returns:
the named Variable, or null

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.