public class H5tiledLayoutBB extends java.lang.Object implements LayoutBB
LayoutBB.Chunk
Modifier and Type | Field and Description |
---|---|
static boolean |
debugFilter |
Constructor and Description |
---|
H5tiledLayoutBB(Variable v2,
Section wantSection,
RandomAccessFile raf,
ucar.nc2.internal.iosp.hdf5.H5objects.Filter[] filterProps,
java.nio.ByteOrder byteOrder)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getElemSize()
Get size of each element in bytes.
|
long |
getTotalNelems()
Get total number of elements in the wanted subset.
|
boolean |
hasNext()
Is there more to do
|
LayoutBB.Chunk |
next()
Get the next chunk
|
java.lang.String |
toString() |
public H5tiledLayoutBB(Variable v2, Section wantSection, RandomAccessFile raf, ucar.nc2.internal.iosp.hdf5.H5objects.Filter[] filterProps, java.nio.ByteOrder byteOrder) throws InvalidRangeException, java.io.IOException
v2
- Variable to index over; assumes that vinfo is the data objectwantSection
- the wanted section of data, contains a List of Range objects. must be completeraf
- the RandomAccessFilefilterProps
- set of filter properties from which filter object will be createdInvalidRangeException
- if section invalid for this variablejava.io.IOException
- on io errorpublic long getTotalNelems()
LayoutBB
getTotalNelems
in interface Layout
getTotalNelems
in interface LayoutBB
public int getElemSize()
LayoutBB
getElemSize
in interface Layout
getElemSize
in interface LayoutBB
public boolean hasNext()
LayoutBB
public LayoutBB.Chunk next()
LayoutBB
public java.lang.String toString()
toString
in class java.lang.Object