Package com.semedy.reasoner.edb.ramstore
Class PrimaryIndex
java.lang.Object
com.semedy.reasoner.edb.ramstore.HashIndex
com.semedy.reasoner.edb.ramstore.PrimaryIndex
- All Implemented Interfaces:
Index
,MainMemoryIndex
Hashindex for tuples
- Author:
- angele
-
Constructor Summary
ConstructorDescriptionPrimaryIndex
(TupleStore tuplestore, int arity, int initialSize, ReasoningMonitor monitor) -
Method Summary
Methods inherited from class com.semedy.reasoner.edb.ramstore.HashIndex
addTuple, addTuple, clear, containsTuple, containsTuple, containsTuple, getIndexedPositions, getNumberOfMatchingTuples, getTupleAddress, getTupleAddress, getTupleStore, hasSelectMatchingTuples, indexedValues, removeTuple, selectMatchingTuples, selectMatchingTuples, selectMatchingTuples, size, sizeInBytes
-
Constructor Details
-
PrimaryIndex
- Parameters:
tuplestore
-arity
-initialSize
-monitor
-
-
-
Method Details
-
elements
Description copied from interface:MainMemoryIndex
iterator for all elements- Specified by:
elements
in interfaceMainMemoryIndex
- Overrides:
elements
in classHashIndex
- Returns:
-