std::vector< std::string > allErrorMessages() const
friend std::ostream & operator<<(std::ostream &os, const EntityUpdateResult &rhs)
std::vector< aron::data::DictPtr > instancesData
The entity data.
A bundle of updates to be sent to the memory.
Result of an EntityUpdate.
float confidence
An optional confidence, may be used for things like decay.
friend std::ostream & operator<<(std::ostream &os, const Commit &rhs)
void append(const Commit &c)
friend std::ostream & operator<<(std::ostream &os, const CommitResult &rhs)
std::vector< EntityUpdate > updates
The entity updates.
Time arrivedTime
Time when this update arrived at the memory server.
UpdateType
The type of an update.
An update of an entity for a specific point in time.
bool update(mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update)
Represents a point in time.
Time referencedTime
Time when this entity update was created (e.g.
std::vector< EntityUpdateResult > results
MemoryID entityID
The entity's ID.
static DateTime Invalid()
Time sentTime
Time when this update was sent to the memory server.
friend std::ostream & operator<<(std::ostream &os, const EntityUpdate &rhs)