public abstract class DataType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.BitSet |
classBits |
Modifier | Constructor and Description |
---|---|
protected |
DataType(java.nio.ByteBuffer bb) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
fillData(java.nio.ByteBuffer buffer,
int[] dimensions,
HdfBackingStorage hdfBackingStorage)
Fill the data from buffer into the returned
Object using this DataType |
int |
getDataClass() |
abstract java.lang.Class<?> |
getJavaType()
Get the Java
Class of this HDF5 type |
int |
getSize()
Gets the number of bytes used to represent each element
|
int |
getVersion() |
static DataType |
readDataType(java.nio.ByteBuffer bb) |
public static DataType readDataType(java.nio.ByteBuffer bb)
public int getVersion()
public int getDataClass()
public int getSize()
public abstract java.lang.Class<?> getJavaType()
Class
of this HDF5 typeClass
of this HDF5 typepublic abstract java.lang.Object fillData(java.nio.ByteBuffer buffer, int[] dimensions, HdfBackingStorage hdfBackingStorage)
Object
using this DataType
buffer
- containing the datadimensions
- dataset dimensionshdfBackingStorage
- file containing this data