class documentation
class TableView: (source)
Constructor: TableView(table_view, topic, subscription, schema)
Undocumented
Method | __init__ |
Undocumented |
Method | __len__ |
Return the number of entries in the table view. |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | close |
Close the table view. |
Method | for |
Iterate over all entries in the table view and call the callback function with the key and value for each entry. |
Method | for |
Iterate over all entries in the table view and call the callback function with the key and value for each entry, then listen for changes. The callback will be called when a new entry is added or an existing entry is updated. |
Method | get |
Return the value associated with the given key in the table view. |
Instance Variable | _schema |
Undocumented |
Instance Variable | _subscription |
Undocumented |
Instance Variable | _table |
Undocumented |
Instance Variable | _topic |
Undocumented |
def __init__(self, table_view:
_pulsar.TableView
, topic: str
, subscription: str | None
, schema: Schema
):
(source)
¶
Undocumented
Iterate over all entries in the table view and call the callback function with the key and value for each entry, then listen for changes. The callback will be called when a new entry is added or an existing entry is updated.
Parameters | |
callback:Callable[[str , Any] , None] | The callback function to call for each entry. |