public final class HDF5ArrayBlockParams
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
HDF5ArrayBlockParams |
block(int... dimensions)
Sets an array block dimensions.
|
HDF5ArrayBlockParams |
index(long... blockIndex)
Sets the array block indices.
|
HDF5ArrayBlockParams |
offset(long... offset)
Sets the array block offset.
|
HDF5ArrayBlockParams |
slice(IndexMap boundIndices)
Sets an array slice.
|
HDF5ArrayBlockParams |
slice(long... boundIndices)
Sets an array slice.
|
public HDF5ArrayBlockParams block(int... dimensions)
dimensions
- The block dimensions.public HDF5ArrayBlockParams index(long... blockIndex)
blockIndex
- The block index in each dimension (offset: multiply with the
blockDimensions in the according dimension).public HDF5ArrayBlockParams offset(long... offset)
offset
- The offset in the array to start reading from in each dimension.public 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 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.