@@ -8956,7 +8956,7 @@ if using changelogs
8956
8956
class WindowedRocksDBStorePartition(RocksDBStorePartition)
8957
8957
```
8958
8958
8959
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/windowed/partition.py#L18 )
8959
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/windowed/partition.py#L10 )
8960
8960
8961
8961
A base class to access windowed state in RocksDB.
8962
8962
It represents a single RocksDB database.
@@ -8972,7 +8972,7 @@ stores the expiration index to delete expired windows.
8972
8972
def iter_keys(cf_name: str = "default") -> Iterator[bytes]
8973
8973
```
8974
8974
8975
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/windowed/partition.py#L36 )
8975
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/windowed/partition.py#L19 )
8976
8976
8977
8977
Iterate over all keys in the DB.
8978
8978
@@ -8994,7 +8994,7 @@ An iterable of keys
8994
8994
def begin() -> WindowedRocksDBPartitionTransaction
8995
8995
```
8996
8996
8997
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/windowed/partition.py#L48 )
8997
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/windowed/partition.py#L31 )
8998
8998
8999
8999
Start a new `WindowedRocksDBPartitionTransaction`
9000
9000
@@ -9554,7 +9554,7 @@ if using changelogs
9554
9554
class RocksDBStorePartition(StorePartition)
9555
9555
```
9556
9556
9557
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L38 )
9557
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L37 )
9558
9558
9559
9559
A base class to access state in RocksDB.
9560
9560
@@ -9583,7 +9583,7 @@ def write(cache: PartitionTransactionCache,
9583
9583
batch: Optional[WriteBatch] = None)
9584
9584
```
9585
9585
9586
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L92 )
9586
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L87 )
9587
9587
9588
9588
Write data to RocksDB
9589
9589
@@ -9602,7 +9602,7 @@ def get(key: bytes,
9602
9602
cf_name: str = "default") -> Union[bytes, Literal[Marker.UNDEFINED]]
9603
9603
```
9604
9604
9605
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L142 )
9605
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L137 )
9606
9606
9607
9607
Get a key from RocksDB.
9608
9608
@@ -9626,7 +9626,7 @@ def iter_items(lower_bound: bytes,
9626
9626
cf_name: str = "default") -> Iterator[tuple[bytes, bytes]]
9627
9627
```
9628
9628
9629
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L157 )
9629
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L154 )
9630
9630
9631
9631
Iterate over key-value pairs within a specified range in a column family.
9632
9632
@@ -9651,7 +9651,7 @@ An iterator yielding (key, value) tuples.
9651
9651
def exists(key: bytes, cf_name: str = "default") -> bool
9652
9652
```
9653
9653
9654
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L214 )
9654
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L211 )
9655
9655
9656
9656
Check if a key is present in the DB.
9657
9657
@@ -9672,7 +9672,7 @@ Check if a key is present in the DB.
9672
9672
def get_changelog_offset() -> Optional[int]
9673
9673
```
9674
9674
9675
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L225 )
9675
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L222 )
9676
9676
9677
9677
Get offset that the changelog is up-to-date with.
9678
9678
@@ -9688,7 +9688,7 @@ offset or `None` if there's no processed offset yet
9688
9688
def write_changelog_offset(offset: int)
9689
9689
```
9690
9690
9691
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L237 )
9691
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L234 )
9692
9692
9693
9693
Write a new changelog offset to the db.
9694
9694
@@ -9707,7 +9707,7 @@ the actual data.
9707
9707
def close()
9708
9708
```
9709
9709
9710
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L250 )
9710
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L247 )
9711
9711
9712
9712
Close the underlying RocksDB
9713
9713
@@ -9720,7 +9720,7 @@ Close the underlying RocksDB
9720
9720
def path() -> str
9721
9721
```
9722
9722
9723
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L263 )
9723
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L260 )
9724
9724
9725
9725
Absolute path to RocksDB database folder
9726
9726
@@ -9737,7 +9737,7 @@ file path
9737
9737
def destroy(cls, path: str)
9738
9738
```
9739
9739
9740
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L271 )
9740
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L268 )
9741
9741
9742
9742
Delete underlying RocksDB database
9743
9743
@@ -9755,7 +9755,7 @@ The database must be closed first.
9755
9755
def get_column_family_handle(cf_name: str) -> ColumnFamily
9756
9756
```
9757
9757
9758
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L281 )
9758
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L278 )
9759
9759
9760
9760
Get a column family handle to pass to it WriteBatch.
9761
9761
@@ -9770,15 +9770,15 @@ repeatedly.
9770
9770
9771
9771
instance of `rocksdict.ColumnFamily`
9772
9772
9773
- <a id="quixstreams.state.rocksdb.partition.RocksDBStorePartition.get_column_family "></a>
9773
+ <a id="quixstreams.state.rocksdb.partition.RocksDBStorePartition.get_or_create_column_family "></a>
9774
9774
9775
- #### RocksDBStorePartition.get\_column\_family
9775
+ #### RocksDBStorePartition.get\_or\_create\ _column\_family
9776
9776
9777
9777
```python
9778
- def get_column_family (cf_name: str) -> Rdict
9778
+ def get_or_create_column_family (cf_name: str) -> Rdict
9779
9779
```
9780
9780
9781
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L302 )
9781
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/partition.py#L293 )
9782
9782
9783
9783
Get a column family instance.
9784
9784
@@ -9960,7 +9960,7 @@ This class is responsible for managing the state of one partition and creating
9960
9960
class TimestampedStore(RocksDBStore)
9961
9961
```
9962
9962
9963
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/timestamped.py#L277 )
9963
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/rocksdb/timestamped.py#L275 )
9964
9964
9965
9965
A RocksDB-backed state store implementation that manages key-value pairs
9966
9966
associated with timestamps.
@@ -10025,7 +10025,7 @@ if using changelogs topics.
10025
10025
class MemoryStorePartition(StorePartition)
10026
10026
```
10027
10027
10028
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L36 )
10028
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L35 )
10029
10029
10030
10030
Class to access in-memory state.
10031
10031
@@ -10044,7 +10044,7 @@ def write(cache: PartitionTransactionCache,
10044
10044
changelog_offset: Optional[int]) -> None
10045
10045
```
10046
10046
10047
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L75 )
10047
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L74 )
10048
10048
10049
10049
Write data to the state
10050
10050
@@ -10061,7 +10061,7 @@ Write data to the state
10061
10061
def get_changelog_offset() -> Optional[int]
10062
10062
```
10063
10063
10064
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L112 )
10064
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L108 )
10065
10065
10066
10066
Get offset that the changelog is up-to-date with.
10067
10067
@@ -10077,7 +10077,7 @@ offset or `None` if there's no processed offset yet
10077
10077
def write_changelog_offset(offset: int)
10078
10078
```
10079
10079
10080
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L119 )
10080
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L115 )
10081
10081
10082
10082
Write a new changelog offset to the db.
10083
10083
@@ -10098,7 +10098,7 @@ def get(key: bytes,
10098
10098
cf_name: str = "default") -> Union[bytes, Literal[Marker.UNDEFINED]]
10099
10099
```
10100
10100
10101
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L131 )
10101
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L127 )
10102
10102
10103
10103
Get a key from the store
10104
10104
@@ -10120,7 +10120,7 @@ a value if the key is present in the store. Otherwise, `default`
10120
10120
def exists(key: bytes, cf_name: str = "default") -> bool
10121
10121
```
10122
10122
10123
- [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L144 )
10123
+ [[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main/quixstreams/state/memory/partition.py#L140 )
10124
10124
10125
10125
Check if a key is present in the store.
10126
10126
0 commit comments