Package opendap.dts
Class test_SDArray
java.lang.Object
opendap.dap.DAPNode
opendap.dap.BaseType
opendap.dap.DVector
opendap.dap.DArray
opendap.servers.SDArray
opendap.dts.test_SDArray
- All Implemented Interfaces:
Serializable,Cloneable,opendap.dap.ClientIO,opendap.servers.RelOps,opendap.servers.ServerArrayMethods,opendap.servers.ServerMethods
public class test_SDArray
extends opendap.servers.SDArray
Holds a OPeNDAP Server
Array value.- See Also:
-
BaseType- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class opendap.dap.DAPNode
opendap.dap.DAPNode.CloneMap -
Field Summary
Fields inherited from class opendap.dap.DArray
dimVectorFields inherited from class opendap.dap.DAPNode
_nameClear, _nameEncoded, log -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newtest_SDArray.Constructs a newtest_SDArraywith namen. -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetCachedShape(int dim) booleanRead a value from the named dataset for this variable.Methods inherited from class opendap.servers.SDArray
appendDim, appendDim, equal, getStart, getStop, getStride, greater, greater_eql, isRead, isSynthesized, less, less_eql, not_equal, printDecl, printVal, printXML, regexp, serialize, setProject, setProjection, setRead, setSynthesizedMethods inherited from class opendap.dap.DArray
checkSemantics, cloneDAG, getDimension, getDimensions, getFirstDimension, getTypeName, numDimensions, printAsMapXML, printConstraint, squeezeMethods inherited from class opendap.dap.DVector
addVariable, deserialize, externalize, getContainerVar, getLength, getPrimitiveVector, setContainerVar, setLengthMethods inherited from class opendap.dap.BaseType
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, delAttribute, delAttribute, elementCount, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getLongName, hasAttributes, newPrimitiveVector, printAttributes, printAttributes, printAttributes, printAttributes, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, printXML, setClearNameMethods inherited from class opendap.dap.DAPNode
clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setEncodedName, setParent, setProject, setProjectedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface opendap.servers.ServerMethods
isProject, setProject
-
Constructor Details
-
test_SDArray
public test_SDArray()Constructs a newtest_SDArray. -
test_SDArray
Constructs a newtest_SDArraywith namen.- Parameters:
n- the name of the variable.
-
-
Method Details
-
cacheShape
public void cacheShape() -
getCachedShape
public int getCachedShape(int dim) -
read
public boolean read(String datasetName, Object specialO) throws opendap.dap.NoSuchVariableException, IOException, EOFException Read a value from the named dataset for this variable.- Specified by:
readin interfaceopendap.servers.ServerMethods- Specified by:
readin classopendap.servers.SDArray- Parameters:
datasetName- String identifying the file or other data store from which to read a vaue for this variable.specialO- ThisObjectis 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 anull.- Returns:
trueif more data remains to be read, otherwisefalse. This is an abtsract method that must be implemented as part of the installation/localization of a OPeNDAP server.- Throws:
IOExceptionEOFExceptionopendap.dap.NoSuchVariableException
-