StreamTableInfo#

class swordfish._swordfishcpp.StreamTableInfo#
cache_size: int#

When cache is purged by size, the threshold for the number of records to be retained in memory is determined based on cache_size.

cache_purge_time_column: str | None#

The time column in the stream table. When cache is purged by time, it will be conducted based on this column.

cache_purge_interval: Duration#

The interval to trigger a purge when cache is purged by time.

cache_retention_time: Duration#

The retention time of cached data when cache is purged by time.

rows_in_memory: int#

The number of rows currently stored in memory.

total_rows: int#

The total number of rows in the stream table.

memory_used: int#

Memory used by the stream table (in bytes).