These classes are used to define callback behaviors, and are based
on readr's readr::callback functions.
new()ChunkCallback$new(callback)
receive()ChunkCallback$receive(data, index)
continue()ChunkCallback$continue()
result()ChunkCallback$result()
finally()ChunkCallback$finally()
clone()The objects of this class are cloneable with this method.
ChunkCallback$clone(deep = FALSE)deepWhether to make a deep clone.
hipread::ChunkCallback -> HipChunkCallback
clone()The objects of this class are cloneable with this method.
HipChunkCallback$clone(deep = FALSE)deepWhether to make a deep clone.
hipread::ChunkCallback -> hipread::HipChunkCallback -> HipSideEffectChunkCallback
Inherited methods
new()HipSideEffectChunkCallback$new(callback)
receive()HipSideEffectChunkCallback$receive(data, index)
continue()HipSideEffectChunkCallback$continue()
clone()The objects of this class are cloneable with this method.
HipSideEffectChunkCallback$clone(deep = FALSE)deepWhether to make a deep clone.
hipread::ChunkCallback -> hipread::HipChunkCallback -> HipListCallback
Inherited methods
new()HipListCallback$new(callback)
receive()HipListCallback$receive(data, index)
result()HipListCallback$result()
finally()HipListCallback$finally()
clone()The objects of this class are cloneable with this method.
HipListCallback$clone(deep = FALSE)deepWhether to make a deep clone.
hipread::ChunkCallback -> hipread::HipChunkCallback -> HipDataFrameCallback
Inherited methods
new()HipDataFrameCallback$new(callback)
receive()HipDataFrameCallback$receive(data, index)
result()HipDataFrameCallback$result()
finally()HipDataFrameCallback$finally()
clone()The objects of this class are cloneable with this method.
HipDataFrameCallback$clone(deep = FALSE)deepWhether to make a deep clone.
The callbacks HipChunkCallback, HipListCallback and
HipSideEffectChunkCallback should be identical to their readr
counterparts, but have been copied into hipread to ensure that they
work even if readr changes.
The callback HipDataFrameCallback is similar to
readr::DataFrameCallback() except that it uses dplyr::bind_rows()
instead of rbind() so that it is faster.