Ditto 4.7.1
|
Provides information about a live query event relating to a single document live query. More...
#include <SingleDocumentLiveQueryEvent.hpp>
Static Public Member Functions | |
static uint64_t | hash (std::shared_ptr< Document > document) |
Returns a hash that represents the document. | |
static std::string | hash_mnemonic (std::shared_ptr< Document > document) |
Returns a pattern of words that together create a mnemonic, which represents the document. | |
Public Attributes | |
bool | is_initial |
std::shared_ptr< Document > | old_document |
Provides information about a live query event relating to a single document live query.
Returns a hash that represents the document.
[in] | document | the document delivered alongside the live query event. |
|
static |
Returns a pattern of words that together create a mnemonic, which represents the document.
[in] | document | the document delivered alongside the live query event. |
bool ditto::SingleDocumentLiveQueryEvent::is_initial |
Indicates whether or not this is the first event to be delivered for this document as part of its corresponding LiveQuery
.
std::shared_ptr<Document> ditto::SingleDocumentLiveQueryEvent::old_document |
The representation of the document before the latest update.