Package | Description |
---|---|
ncsa.hdf.hdf5lib | |
ncsa.hdf.hdf5lib.exceptions | |
ncsa.hdf.object.h5 |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
HDFArray.arrayify(byte[] bytes)
Given a one-dimensional array of bytes representing numbers, convert it
to a java array of the shape and size passed to the constructor.
|
byte[] |
HDFArray.byteify()
Given a Java array of numbers, convert it to a one-dimensional array of
bytes in correct native order.
|
static java.lang.Object |
HDFNativeData.byteToNumber(byte[] barray,
java.lang.Object obj)
Create a Number object from an array of bytes.
|
byte[] |
HDFArray.emptyBytes()
Allocate a one-dimensional array of bytes sufficient to store the array.
|
static int |
H5.H5Aread(int attr_id,
int mem_type_id,
java.lang.Object obj)
H5Aread reads an attribute, specified with attr_id.
|
static int |
H5.H5Awrite(int attr_id,
int mem_type_id,
java.lang.Object obj)
H5Awrite writes an attribute, specified with attr_id.
|
static int |
H5.H5Dextend(int dataset_id,
long[] size)
Deprecated.
As of HDF5 1.8, replaced by
H5.H5Dset_extent(int, long[]) |
static int |
H5.H5Dread(int dataset_id,
int mem_type_id,
int mem_space_id,
int file_space_id,
int xfer_plist_id,
java.lang.Object obj) |
static int |
H5.H5Dread(int dataset_id,
int mem_type_id,
int mem_space_id,
int file_space_id,
int xfer_plist_id,
java.lang.Object obj,
boolean isCriticalPinning)
H5Dread reads a (partial) dataset, specified by its identifier dataset_id, from the file into
the application data object.
|
static int |
H5.H5Dwrite(int dataset_id,
int mem_type_id,
int mem_space_id,
int file_space_id,
int xfer_plist_id,
java.lang.Object obj) |
static int |
H5.H5Dwrite(int dataset_id,
int mem_type_id,
int mem_space_id,
int file_space_id,
int xfer_plist_id,
java.lang.Object obj,
boolean isCriticalPinning)
H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the
application memory data object into the file.
|
static int |
H5.H5Pget_fill_value(int plist_id,
int type_id,
byte[] value)
H5Pget_fill_value queries the fill value property of a dataset creation property list.
|
static int |
H5.H5Pget_fill_value(int plist_id,
int type_id,
java.lang.Object obj)
H5Pget_fill_value queries the fill value property of a dataset creation property list.
|
static int |
H5.H5Pset_chunk(int plist,
int ndims,
long[] dim) |
static int |
H5.H5Pset_fill_value(int plist_id,
int type_id,
byte[] value)
H5Pset_fill_value sets the fill value for a dataset creation property list.
|
static int |
H5.H5Pset_fill_value(int plist_id,
int type_id,
java.lang.Object obj)
H5Pset_fill_value sets the fill value for a dataset creation property list.
|
static int |
H5.H5Screate_simple(int rank,
byte[] dims,
byte[] maxdims)
Deprecated.
use H5Screate_simple(int rank, long[] dims, long[] maxdims)
|
static int |
H5.H5Screate_simple(int rank,
long[] dims,
long[] maxdims)
H5Screate_simple creates a new simple data space and opens it for access.
|
static int |
H5.H5Soffset_simple(int space_id,
long[] offset) |
static int |
H5.H5Sselect_elements(int space_id,
int op,
int num_elements,
long[][] coord2D)
H5Sselect_elements selects array elements to be included in the selection for the space_id
dataspace.
|
Constructor and Description |
---|
HDFArray(java.lang.Object anArray)
The input must be a Java Array (possibly multidimensional) of primitive
numbers or sub-classes of Number.
|
Modifier and Type | Class and Description |
---|---|
class |
HDF5AtomException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5AttributeException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5BtreeException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5DataFiltersException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5DatasetInterfaceException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5DataspaceInterfaceException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5DataStorageException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5DatatypeInterfaceException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5ExternalFileListException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5FileInterfaceException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5FunctionArgumentException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5FunctionEntryExitException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5HeapException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5InternalErrorException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5JavaException
The class HDF5JavaException returns errors from the Java wrapper of theHDF5
library.
|
class |
HDF5LibraryException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5LowLevelIOException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5MetaDataCacheException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5ObjectHeaderException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5PropertyListInterfaceException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5ReferenceException |
class |
HDF5ResourceUnavailableException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
class |
HDF5SymbolTableException
The class HDF5LibraryException returns errors raised by the HDF5 library.
|
Modifier and Type | Method and Description |
---|---|
void |
H5File.close()
Closes file associated with this H5File instance.
|
static int[] |
H5Datatype.convertEnumNameToValue(int tid,
java.lang.String[] in,
int[] out)
Converts names in an Enumeration Datatype to values.
|
static java.lang.String[] |
H5Datatype.convertEnumValueToName(int tid,
java.lang.Object inValues,
java.lang.String[] outNames)
Converts values in an Enumeration Datatype to names.
|
void |
H5ScalarDS.extend(long[] newDims)
H5Dset_extent verifies that the dataset is at least of size size, extending it if necessary.
|
static java.util.List<Attribute> |
H5File.getAttribute(int objID)
Returns a list of attributes for the specified object.
|
static java.util.List<Attribute> |
H5File.getAttribute(int objID,
int idx_type,
int order)
Returns a list of attributes for the specified object, in creation or alphabetical order.
|
java.util.List |
H5Group.getMetadata() |
java.util.List<Attribute> |
H5CompoundDS.getMetadata() |
java.util.List<Attribute> |
H5Datatype.getMetadata() |
java.util.List<Attribute> |
H5ScalarDS.getMetadata() |
java.util.List |
H5Group.getMetadata(int... attrPropList) |
java.util.List<Attribute> |
H5CompoundDS.getMetadata(int... attrPropList) |
java.util.List<Attribute> |
H5Datatype.getMetadata(int... attrPropList) |
java.util.List<Attribute> |
H5ScalarDS.getMetadata(int... attrPropList) |
byte[] |
H5CompoundDS.readBytes() |
byte[] |
H5ScalarDS.readBytes() |
void |
H5Group.removeMetadata(java.lang.Object info) |
void |
H5CompoundDS.removeMetadata(java.lang.Object info) |
void |
H5Datatype.removeMetadata(java.lang.Object info) |
void |
H5ScalarDS.removeMetadata(java.lang.Object info) |
void |
H5Group.updateMetadata(java.lang.Object info) |
void |
H5CompoundDS.updateMetadata(java.lang.Object info) |
void |
H5ScalarDS.updateMetadata(java.lang.Object info) |
void |
H5CompoundDS.write(java.lang.Object buf)
Writes the given data buffer into this dataset in a file.
|
void |
H5ScalarDS.write(java.lang.Object buf)
Writes the given data buffer into this dataset in a file.
|
void |
H5File.writeAttribute(HObject obj,
Attribute attr,
boolean attrExisted) |