Class |
Description |
|---|---|
|
|
|
|
|
Bases: object
class Database provides lower level access to raw snapshot data used to construct analysis data
Get a snapshot by its id, or None if no snapshot with that id exists
Get a specific global by key, as a binary buffer
key (str) –
Remove a snapshot in the database by id, deleting its contents and references. Attempting to remove a snapshot with children will raise an exception.
id (int) –
Trim a snapshot’s contents in the database by id, but leave the parent/child hierarchy intact. Future references to this snapshot will return False for has_contents
id (int) –
Write a binary buffer into a global in the database
key (str) –
value (DataBuffer) –
Get the backing analysis cache kvs (read-only)
Get the owning FileMetadata (read-only)
Bases: object
class KeyValueStore maintains access to the raw data stored in Snapshots and various
other Database-related structures.
buffer (DataBuffer | None) –
Begin storing new keys into a namespace
name (str) –
Get the value for a single key
key (str) –
Set the value for a single key
key (str) –
value (DataBuffer) –
Get a list of all keys stored in the kvs (read-only)
Get the stored representation of the kvs (read-only)
Bases: object
class Snapshot is a model of an individual database snapshot, created on save.
Get the backing kvs data with snapshot fields (read-only)
Get a buffer of the raw data at the time of the snapshot (read-only)
Get a hash of the data at the time of the snapshot (read-only)
Get the first parent of the snapshot, or None if it has no parents (read-only)
Get a list of undo entries at the time of the snapshot (read-only)