public class ContiguousDatasetImpl extends DatasetBase implements ContiguousDataset
AbstractNode.AttributesLazyInitializer
hdfBackingStorage, oh
address, attributes, header, name, parent
Constructor and Description |
---|
ContiguousDatasetImpl(HdfBackingStorage hdfBackingStorage,
long address,
java.lang.String name,
Group parent,
ObjectHeader oh) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getBuffer()
Gets the buffer for this dataset
|
long |
getDataAddress()
Gets the address of the data in the HDF5-file relative to the end of the userblock.
|
java.nio.ByteBuffer |
getDataBuffer()
Gets the buffer that holds this datasets data.
|
java.util.List<PipelineFilterWithData> |
getFilters()
Gets the filters applied to this dataset with the corresponding filter data.
|
java.nio.ByteBuffer |
getSliceDataBuffer(long[] sliceOffset,
int[] sliceDimensions) |
boolean |
isEmpty()
Checks if this dataset is empty i.e holds no data and no storage is
allocated.
|
convertToCorrectEndiness, getData, getData, getDataFlat, getDataLayout, getDataType, getDimensions, getFillValue, getJavaType, getMaxSize, getSize, getSizeInBytes, getStorageInBytes, getType, isCompound, isScalar, isVariableLength, toString
getAddress, getAttribute, getAttributes, getFile, getFileAsPath, getHdfFile, getHeader, getHeaderMessage, getName, getParent, getPath, isAttributeCreationOrderTracked, isGroup, isLink
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getData, getData, getDataFlat, getDataLayout, getDataType, getDimensions, getFillValue, getJavaType, getMaxSize, getSize, getSizeInBytes, getStorageInBytes, isCompound, isScalar, isVariableLength
getAddress, getAttribute, getAttributes, getFile, getFileAsPath, getHdfFile, getName, getParent, getPath, getType, isAttributeCreationOrderTracked, isGroup, isLink
public ContiguousDatasetImpl(HdfBackingStorage hdfBackingStorage, long address, java.lang.String name, Group parent, ObjectHeader oh)
public java.nio.ByteBuffer getDataBuffer()
DatasetBase
getDataBuffer
in class DatasetBase
public java.nio.ByteBuffer getSliceDataBuffer(long[] sliceOffset, int[] sliceDimensions)
getSliceDataBuffer
in class DatasetBase
public java.nio.ByteBuffer getBuffer()
ContiguousDataset
getBuffer
in interface ContiguousDataset
public long getDataAddress()
ContiguousDataset
file.getUserBlockSize()
needs to be added.getDataAddress
in interface ContiguousDataset
public boolean isEmpty()
Dataset
isEmpty
in interface Dataset
isEmpty
in class DatasetBase
true
if dataset if empty false
otherwisepublic java.util.List<PipelineFilterWithData> getFilters()
Dataset
getFilters
in interface Dataset