Class BaseObjectBinaryOperator.Context

java.lang.Object
io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
BaseObjectUpdateByOperator<T>.Context
io.deephaven.engine.table.impl.updateby.internal.BaseObjectBinaryOperator.Context
All Implemented Interfaces:
SafeCloseable, AutoCloseable
Enclosing class:
BaseObjectBinaryOperator<T>

protected class BaseObjectBinaryOperator.Context extends BaseObjectUpdateByOperator<T>.Context
  • Field Details

  • Constructor Details

    • Context

      protected Context(int chunkSize)
  • Method Details

    • setValueChunks

      public void setValueChunks(@NotNull @NotNull Chunk<? extends Values>[] valueChunks)
      Overrides:
      setValueChunks in class BaseObjectUpdateByOperator<T>.Context
    • push

      public void push(int pos, int count)
      Description copied from class: UpdateByOperator.Context
      Add values to the operators current data set
      Specified by:
      push in class UpdateByOperator.Context
      Parameters:
      pos - the index in the associated chunk where this value can be found. Depending on the usage, might be a values chunk (for cumulative operators) or an influencer values chunk (for windowed). It is the task of the operator to pull the data from the chunk and use it properly
      count - the number of items to push from the chunk
    • reset

      public void reset()
      Description copied from class: UpdateByOperator.Context
      Reset the operator data values to a known state. This may occur during initialization or when a windowed operator has an empty window
      Overrides:
      reset in class BaseObjectUpdateByOperator<T>.Context