deephaven.replay

This module provides support for replaying historical data.

class TableReplayer(start_time, end_time)[source]

Bases: deephaven._wrapper.JObjectWrapper

The TableReplayer is used to replay historical data.

Tables to be replayed are registered with the replayer. The resulting dynamic replay tables all update in sync, using the same simulated clock. Each registered table must contain a timestamp column.

add_table(table, col)[source]

Registers a table for replaying and returns the associated replay table.

Parameters
  • table (Table) – the table to be replayed

  • col (str) – column in the table containing timestamps

Return type

Table

Returns

a replay Table

Raises

DHError

j_object_type

alias of io.deephaven.engine.table.impl.replay.Replayer

shutdown()[source]

Shuts down and invalidates the replayer. After this call, the replayer can no longer be used.

Return type

None

start()[source]

Starts replaying.

Raises

DHError

Return type

None