Class PythonTableDataReader

java.lang.Object
io.deephaven.integrations.python.PythonTableDataReader

public class PythonTableDataReader extends Object
An efficient reader for a Python table listener to extract columnar data based on the RowSequence in the TableUpdate
  • Constructor Details

    • PythonTableDataReader

      public PythonTableDataReader()
  • Method Details

    • makeContext

      public static Context makeContext(int chunkCapacity, @NotNull @NotNull ColumnSource<?>... columnSources)
      Factory method for instance of PythonTableDataReader.Context
      Parameters:
      chunkCapacity -
      columnSources -
      Returns:
      PythonTableDataReader.Context
    • readChunkColumnMajor

      public static Object[] readChunkColumnMajor(@NotNull Context context, RowSequence rowSeq, ColumnSource<?>[] columnSources, boolean prev)
      Copy data from a table by chunks into a 2D array
      Parameters:
      context - the context used in filling the output array
      rowSeq - indices of the rows of the table to put into the 2D array
      columnSources - columns of data to put into the 2D array
      Returns:
      a 2D array