memoryx::EntityMemorySegmentInterface
Overview
[ "cpp:virtual" ]
interface EntityMemorySegmentInterface
Derived Classes and Interfaces
- PersistentEntitySegmentBase
- WorkingMemoryEntitySegmentBase
Operation Index
- getObjectTypeId
-
- addEntity
-
- addEntityList
-
- updateEntity
-
- upsertEntity
-
Updates or insert entity.
- upsertEntityByName
-
- upsertEntityList
-
- removeEntity
-
- removeAllEntities
-
- setEntityAttribute
-
set attribute on entity with ID entityId
- setEntityAttributes
-
set all attributes in attributeList on entity with ID entityId
- hasEntityById
-
- hasEntityByName
-
- getEntityById
-
- getJSONEntityById
-
- getEntityRefById
-
- getEntityByName
-
- getEntityRefByName
-
- getEntitiesByAttrValue
-
- getEntitiesByAttrValueList
-
- getEntityWithChildrenById
-
- getEntityWithChildrenByName
-
- getAllEntityIds
-
- getAllEntities
-
- getIdEntityMap
-
- getSegmentName
-
- lockSegment
-
- keepLockAlive
-
- unlockSegment
-
- unlockSegmentWithToken
-
Operations
string getObjectTypeId()
Updates or insert entity. If not found with given id, entity is inserted and id is returned.
void removeAllEntities()
void setEntityAttribute(string entityId, EntityAttributeBase attribute)
set attribute on entity with ID entityId
void setEntityAttributes(string entityId, EntityAttributeList attributeList)
set all attributes in attributeList on entity with ID entityId
bool hasEntityById(string entityId)
bool hasEntityByName(string entityName)
EntityBase getEntityById(string entityId)
string getJSONEntityById(string entityId)
EntityRefBase getEntityRefById(string entityId)
EntityBase getEntityByName(string entityName)
EntityRefBase getEntityRefByName(string entityName)
EntityBaseList getEntitiesByAttrValue(string attrName, string attrValue)
EntityBaseList getEntitiesByAttrValueList(string attrName, NameList attrValueList)
EntityBaseList getEntityWithChildrenById(string entityId, bool includeMetaEntities)
EntityBaseList getEntityWithChildrenByName(string entityName, bool includeMetaEntities)
string getSegmentName()