ListSink

internal class ListSink(val columnIndex: Int, val dataType: DataType) : SinkSource<Any>

Implementation of Deephaven's Sink and Source that stores data in an ArrayList.

The implementation is based on Writing Your Own Data Sinks.

If we ever store column data unboxed / primitively, this needs to be modified.

Constructors

Link copied to clipboard
constructor(columnIndex: Int, dataType: DataType)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val data: List<Any?>
Link copied to clipboard
val dataType: DataType
Link copied to clipboard
Link copied to clipboard
open override val underlying: ListSink

Functions

Link copied to clipboard
open override fun getUnderlying(): ListSink
Link copied to clipboard
open override fun read(dest: Any, isNull: BooleanArray, srcBegin: Long, srcEnd: Long)
Link copied to clipboard
open override fun write(src: Any, isNull: BooleanArray, destBegin: Long, destEnd: Long, appending: Boolean)