CommitState

class dsviper.CommitState

Bases: object

A class used to represent data at a specific commit. Use the attachmentGetting interface to retrieve value by key from attachments.

Note: Not directly instantiable.

attachment_getting() AttachmentGetting

Return the AttachmentGetting interface.

cache_hit_rate() float

Return the cache hit rate.

cache_hits() int

Return the count of value return from the cache.

cache_preload() float

Return the tuple time to get all documents.

cache_requests() int

Return the count of value requested.

commit_id() ValueCommitId

Return the identifier of the commit.

commit_state_tracing() CommitStateTracing

Return the AttachmentGetting interface.

definitions() DefinitionsConst

Return the definitions.

eval_actions() list[CommitEvalAction]

Return a list of CommitEvalAction.

traced_opcodes() list[ValueOpcode]

Return the list of opcodes from the commit trace.