ark::logging::LoggedObject

Defined in header “ark/logging/logged_object.hh”.


A simple object that is populated from the read cursor as you step through a log. It contains the raw data contained within the log.

Note that a logged object becomes invalidated each time you step through a cursor.

Methods

  • operator bool()
    Returns if this object is “valid” or not.

Variables

  • ObjectDeclarationCPtr object_type
    The object type.

  • LoggingClock::time_point indexed_time{}
    The indexed timestamp.

  • core::ByteBuffer data
    The raw data of this object.

  • size_t on_disk_size= 0
    The size of the data on disk (for example, if the object was compressed, this will be the compressed size).