Package ucar.nc2.dods
Class DODSStructure
- java.lang.Object
-
- ucar.nc2.CDMNode
-
- ucar.nc2.Variable
-
- ucar.nc2.Structure
-
- ucar.nc2.dods.DODSStructure
-
- All Implemented Interfaces:
Comparable<ucar.nc2.VariableSimpleIF>,Iterable<ucar.nc2.Attribute>,ucar.nc2.AttributeContainer,DODSNode,ucar.nc2.ProxyReader,ucar.nc2.VariableSimpleIF
public class DODSStructure extends ucar.nc2.Structure implements DODSNode
A DODS Structure.
-
-
Field Summary
Fields Modifier and Type Field Description protected DODSNetcdfFiledodsfileprotected StringdodsShortName
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DODSStructurecopy()StringgetDODSName()protected StringgetDODSshortName()ucar.ma2.StructureDataIteratorgetStructureIterator(String CE)Return an iterator over the set of repeated structures.voidsetDODSName(String name)-
Methods inherited from class ucar.nc2.Structure
addLocalFieldsToBuilder, addMemberVariable, builder, calcElementSize, calcStructureSize, findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isCaching, isSubset, makeStructureMembers, readStructure, readStructure, readStructure, removeMemberVariable, replaceMemberVariable, select, select, setCaching, setImmutable, setMemberVariables, setParentGroup, toBuilder, writeCDL
-
Methods inherited from class ucar.nc2.Variable
_read, _read, _readScalarData, addAll, addAttribute, addLocalFieldsToBuilder, attributes, compareTo, createNewCache, equals, extraInfo, findAttribute, findAttributeDouble, findAttributeIgnoreCase, findAttributeInteger, findAttributeString, findDimensionIndex, getAttributes, getDAPName, getDAPName, getDatasetLocation, getDataType, getDescription, getDimension, getDimensions, getDimensionsAll, getDimensionsString, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentGroupOrRoot, getParentStructure, getProxyReader, getRanges, getRank, getScalarData, getShape, getShape, getShapeAll, getShapeAsSection, getSize, getSizeToCache, getSPobject, getUnitsString, hasCachedData, hashCode, invalidateCache, isCoordinateVariable, isEmpty, isImmutable, isMemberOfStructure, isMetadata, isScalar, isUnknownLength, isUnlimited, isVariableLength, lookupEnumString, read, read, read, read, read, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, readToByteChannel, readToStream, reallyRead, reallyRead, reduce, remove, removeAttribute, removeAttributeIgnoreCase, resetDimensions, resetShape, section, section, setCachedData, setCachedData, setDataType, setDimension, setDimensions, setDimensions, setDimensionsAnonymous, setElementSize, setEnumTypedef, setIsScalar, setName, setProxyReader, setSizeToCache, setSPobject, setValues, setValues, slice, toString, toStringDebug, writeCDL
-
Methods inherited from class ucar.nc2.CDMNode
annotate, annotation, getFullNameEscaped, getGroup, getImmutable, getName, getShortName, getSort, localhash, setParentStructure, setShortName, setSort, unwrap
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ucar.nc2.AttributeContainer
findAttValueIgnoreCase, getName, hasAttribute, hasAttributeIgnoreCase, iterator
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
dodsfile
protected DODSNetcdfFile dodsfile
-
dodsShortName
protected String dodsShortName
-
-
Method Detail
-
copy
protected DODSStructure copy()
- Overrides:
copyin classucar.nc2.Structure
-
getDODSshortName
protected String getDODSshortName()
-
getStructureIterator
public ucar.ma2.StructureDataIterator getStructureIterator(String CE) throws IOException
Return an iterator over the set of repeated structures. The iterator will return an object of type Structure. When you call this method, the Sequence will be read using the given constraint expression, and the data returned sequentially.
If the data has been cached by a read() to an enclosing container, you must leave the CE null. Otherwise a new call will be made to the server.- Parameters:
CE- constraint expression, or null.- Returns:
- iterator over type DODSStructure.
- Throws:
IOException- on io error- See Also:
DODSStructure
-
getDODSName
public String getDODSName()
- Specified by:
getDODSNamein interfaceDODSNode- Overrides:
getDODSNamein classucar.nc2.CDMNode
-
setDODSName
public void setDODSName(String name)
- Specified by:
setDODSNamein interfaceDODSNode- Overrides:
setDODSNamein classucar.nc2.CDMNode
-
-