Uses of Interface
org.evrete.api.FactHandle
| Package | Description |
|---|---|
| org.evrete.api |
-
Uses of FactHandle in org.evrete.api
Methods in org.evrete.api that return FactHandle Modifier and Type Method Description FactHandleFactHandleVersioned. getHandle()FactHandleFactStorage.Entry. getHandle()FactHandleFactStorage. insert(T fact)Creates and returns new FactHandle for each inserted fact.FactHandleWorkingMemory. insert(Object fact)Inserts a fact in working memory and returns a serializable fact handle.FactHandleWorkingMemory. insert(String type, Object fact)Inserts a fact and explicitly specifies itsTypename.Methods in org.evrete.api with parameters of type FactHandle Modifier and Type Method Description voidFactStorage. delete(FactHandle handle)voidWorkingMemory. delete(FactHandle handle)Deletes a fact from working memory.TFactStorage. getFact(FactHandle handle)ObjectWorkingMemory. getFact(FactHandle handle)Returns fact by its handle.voidFactStorage. update(FactHandle handle, T newInstance)voidWorkingMemory. update(FactHandle handle, Object newValue)Updates a fact that already exists in the working memoryMethod parameters in org.evrete.api with type arguments of type FactHandle Modifier and Type Method Description voidRuleSession. forEachFact(BiConsumer<FactHandle,Object> consumer)Constructors in org.evrete.api with parameters of type FactHandle Constructor Description FactHandleVersioned(FactHandle handle)FactHandleVersioned(FactHandle handle, int version)