Module org.apache.jena.core
Package org.apache.jena.mem.store.indexed
package org.apache.jena.mem.store.indexed
-
ClassDescription
StoreStrategythat maintains a complete subject/predicate/object index over the triple set at all times.TripleStorethat stores all triples in a singleTripleSetand delegates pattern-matching to a configurableStoreStrategy.Minimal view onto an indexed-by-int triple collection, used by the shared iteration primitives (IndexListIterator,IndexListSpliterator,IndexListsIterator,IndexListsSpliterator) so they can resolve integer triple indices back toTripleinstances without coupling to a single concrete type.Append-only list ofinttriple indices, used by the eager indexing strategy as the value type of the per-node index lists ("for the subject node N, here are the indices of all triples whose subject is N").Iterator that resolves the integer indices stored in anIndexListback toTripleinstances by looking them up in aIndexedTripleSource.Iterator over the intersection of twoIndexLists, used by the eager indexing strategy to answer two-key patterns (e.g. subject-and-predicate or predicate-and-object).Spliterator counterpart toIndexListIterator: walks anIndexListin ascending order and dereferences each integer index against aIndexedTripleSourceto yield triples.Spliterator counterpart toIndexListsIterator: walks the intersection of twoIndexLists, dereferencing each surviving triple index against aIndexedTripleSource.FastHashMapfromNodetoIndexList, used by the eager indexing strategy as one of the three subject/predicate/object indices ("for this node, here are the indices of all triples that mention it in the corresponding slot").