Package nz.org.riskscape.hdf5.types
Class H5CompoundType
java.lang.Object
nz.org.riskscape.hdf5.H5Object
nz.org.riskscape.hdf5.types.H5Type
nz.org.riskscape.hdf5.types.H5CompoundType
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
findMember
(String string) int
getByteOffsetFor
(int memberIndex) boolean
read
(ByteBuffer outBuf, int offset) toString()
nz.org.riskscape.engine.types.Type
toType()
Methods inherited from class nz.org.riskscape.hdf5.types.H5Type
build, canEqual, equals, getClassName, getDataSize, hashCode, readVlen
Methods inherited from class nz.org.riskscape.hdf5.H5Object
getPointer
-
Constructor Details
-
H5CompoundType
protected H5CompoundType(long id)
-
-
Method Details
-
findIndex
-
findMember
-
getMembers
-
read
- Specified by:
read
in classH5Type
- Returns:
- a java object that represents the data that was stored in the outBuf if it was of this data type.
This java object should be coercable in to the type returned from
H5Type.toType()
-
toType
public nz.org.riskscape.engine.types.Type toType() -
toString
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classH5Type
-
isVariableLength
public boolean isVariableLength()- Specified by:
isVariableLength
in classH5Type
- Returns:
- true if this type is, or contains something, of variable length. As yet, this H5 support in this plugin can not read datasets of variable length type
-
getByteOffsetFor
public int getByteOffsetFor(int memberIndex) -
getMembersArray
-