Virtual base class that allows for blockwise read iteration of SOMA reads.
See also
Derived classes: BlockwiseTableReadIter,
BlockwiseSparseReadIter
Super class
tiledbsoma::ReadIter -> BlockwiseReadIterBase
Active bindings
arrayThe underlying SOMA array.
axisThe axis to iterate over in a blockwise fashion.
axes_to_reindexThe axes to re-index.
coordsA list of
CoordsStriderobjects.coords_axisThe
CoordsStriderforaxis.reindex_disable_on_axisAdditional axes that will not be re-indexed.
reindexableShorthand to see if this iterator is poised to be re-indexed or not.
Methods
Inherited methods
Method new()
Create.
Usage
BlockwiseReadIterBase$new(
sr,
array,
coords,
axis,
...,
reindex_disable_on_axis = NA
)Arguments
srSOMA read pointer
arrayUnderlying
SOMASparseNDArraycoordsNamed list of
CoordsStriderobjects; must be named afterarray$dimnames()axisAxis to iterate over in a blockwise manner
...Ignored
reindex_disable_on_axisAdditional axes that will not be re-indexed; the following values may be used as shorthands for common settings:
“
TRUE”: disable re-indexing on all axes“
NA”: re-index only onaxis, disable re-indexing on all others“
FALSE”: re-index on all axes, do not disable re-indexing
Method read_next()
Read the next chunk of the iterated read. If read
is complete, throws an iterationCompleteWarning warning and
returns NULL.