public class HDF5ArrayBlockParamsBuilder
extends java.lang.Object
HDF5ArrayBlockParams
.Modifier and Type | Method and Description |
---|---|
static HDF5ArrayBlockParams |
array()
Creates a parameter that reads the complete array.
|
static HDF5ArrayBlockParams |
block(int... dimensions)
Creates a parameter that reads an array block.
|
static HDF5ArrayBlockParams |
blockIndex(long... blockIndex)
Creates a parameter that writes a block with given blockIndex.
|
static HDF5ArrayBlockParams |
blockOffset(long... blockOffset)
Creates a parameter that writes a block with given blockOffset.
|
static HDF5ArrayBlockParams |
slice(IndexMap boundIndices)
Creates a parameter that reads or writes an array slice.
|
static HDF5ArrayBlockParams |
slice(long... boundIndices)
Creates a parameter that reads an array slice.
|
public static HDF5ArrayBlockParams array()
public static HDF5ArrayBlockParams block(int... dimensions)
dimensions
- The block dimensions.public static HDF5ArrayBlockParams slice(long... boundIndices)
boundIndices
- The array containing the values of the bound indices at the respective
index positions, and -1 at the free index positions. For example an array of
new long[] { -1, -1, 5, -1, 7, -1 }
has 2 and 4 as bound indices and
binds them to the values 5 and 7, respectively.public static HDF5ArrayBlockParams slice(IndexMap boundIndices)
boundIndices
- The mapping of indices to index values which should be bound. For example
a map of new IndexMap().mapTo(2, 5).mapTo(4, 7)
has 2 and 4 as bound
indices and binds them to the values 5 and 7, respectively.public static HDF5ArrayBlockParams blockIndex(long... blockIndex)
blockIndex
- The block index in each dimension (offset: multiply with the
blockDimensions in the according dimension).public static HDF5ArrayBlockParams blockOffset(long... blockOffset)
blockIndex
- The block index in each dimension (offset: multiply with the
blockDimensions in the according dimension).