Class MixedRelation

java.lang.Object
com.semedy.reasoner.edb.ramstore.MainMemoryRelation
com.semedy.reasoner.edb.ramstore.MixedRelation
All Implemented Interfaces:
BaseRelation, Relation, CacheUnit
Direct Known Subclasses:
MainMemorySubRelation

public class MixedRelation extends MainMemoryRelation implements CacheUnit
Represents a mixed relation, i.e. tuples are stored persistent and in main memory.
Used to cache tuples from persistent storage model. Writes through, i.e.
tuples added or removed are also removed in persistent part.
For reading and reasoning the main memory part is used. Tuples are always copied from persistent
part to main memory part and not vice versa (e.g. for readBinary tuples are read into persistent
part and then copied into the main memory part, the same with setPersistentRelation
Author:
angele