Package nz.org.riskscape.hdf5.types
Class H5VlenType
java.lang.Object
nz.org.riskscape.hdf5.H5Object
nz.org.riskscape.hdf5.types.H5Type
nz.org.riskscape.hdf5.types.H5VlenType
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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
-
H5VlenType
protected H5VlenType(long id)
-
-
Method Details
-
toType
public nz.org.riskscape.engine.types.Type toType() -
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()
-
toString
-
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
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classH5Type
-
getMemberType
-