Class WebColumnData

java.lang.Object
io.deephaven.web.client.api.barrage.data.WebColumnData

public class WebColumnData extends Object
Holds data from or intended for web clients, normalizing over nulls, with helpers to handle typed chunks.
  • Constructor Details

    • WebColumnData

      public WebColumnData()
  • Method Details

    • ensureCapacity

      public void ensureCapacity(long size)
    • get

      public jsinterop.base.Any get(long position)
      Get a value from this column.
      Parameters:
      position - the position of the value to get
      Returns:
      the value at the given position
    • fillFromChunk

      public void fillFromChunk(Chunk<?> data, PrimitiveIterator.OfLong destIterator)
      Fill a chunk with data from this column.
      Parameters:
      data - the chunk to fill from
      destIterator - an iterator of row positions to fill
    • applyUpdate

      public void applyUpdate(List<Chunk<Values>> data, RangeSet added, RangeSet removed)
      Apply a viewport update directly to this column data.
      Parameters:
      data - the data source for added rows
      added - rows that are new in a post-update position-space
      removed - rows that no longer exist in a pre-update position-space