dods.servers.agg
Class AggSDGrid
java.lang.Object
dods.dap.BaseType
dods.dap.DConstructor
dods.dap.DGrid
dods.dap.Server.SDGrid
dods.servers.agg.AggSDGrid
- All Implemented Interfaces:
- ClientIO, RelOps, ServerArrayMethods, ServerMethods, Cloneable
public class AggSDGrid
- extends SDGrid
Aggregates an SDGrid distributed across multiple datasets (type 1 or 3)
- Version:
- $Revision: 1.3 $
- Author:
- jcaron
Method Summary |
boolean |
read(String datasetName,
Object specialO)
Read a value from the named dataset for this variable. |
Methods inherited from class dods.dap.Server.SDGrid |
addVariable, equal, getStart, getStop, getStride, greater_eql, greater, isProject, isRead, isSynthesized, less_eql, less, not_equal, printDecl, printVal, projectedComponents, projectionYieldsGrid, regexp, serialize, setProject, setProject, setProjection, setRead, setSynthesized |
Methods inherited from class dods.dap.BaseType |
checkSemantics, elementCount, getLongName, getName, getParent, newPrimitiveVector, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, setName, setParent |
AggSDGrid
public AggSDGrid(DGrid template,
SDArray connectCoord,
AggDataset aggDS,
Dataset defDS)
AggSDGrid
public AggSDGrid(DGrid template,
DArrayDimension connectDD,
AggDataset aggDS,
Dataset defDS)
read
public boolean read(String datasetName,
Object specialO)
throws NoSuchVariableException,
IOException,
EOFException
- Description copied from class:
SDGrid
- Read a value from the named dataset for this variable.
- Specified by:
read
in interface ServerMethods
- Specified by:
read
in class SDGrid
- Parameters:
datasetName
- String identifying the file or other data store
from which to read a vaue for this variable.specialO
- This Object
is a goody that is used by Server implementations
to deliver important, and as yet unknown, stuff to the read method. If you
don't need it, make it a null
.
- Returns:
true
if more data remains to be read, otherwise
false
. This is an abtsract method that must be implemented
as part of the installation/localization of a DODS server.
- Throws:
NoSuchVariableException
IOException
EOFException