Skip to contents

SOMA Read Iterator Base class

SOMA Read Iterator Base class

Details

Class that allows for read iteration of SOMA reads.

Methods


Method new()

Create (lifecycle: experimental)

Usage

ReadIter$new(sr)

Arguments

sr

soma read pointer


Method read_complete()

Check if iterated read is complete or not. (lifecycle: experimental)

Usage

ReadIter$read_complete()

Returns

logical


Read the next chunk of an iterated read. (lifecycle: experimental). If read is complete, retunrs NULL and raises warning.

Usage

ReadIter$read_next()

Returns

NULL or one of arrow::Table, matrixZeroBasedView


Method concat()

Concatenate remainder of iterator

Usage

ReadIter$concat()


Method clone()

The objects of this class are cloneable with this method.

Usage

ReadIter$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.