Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.mem.test.* (9)

com.hp.hpl.jena.mem: Javadoc index of package com.hp.hpl.jena.mem.


Package Samples:

com.hp.hpl.jena.mem.test: Various memory-based implementations of interfaces, specifically GraphMem for memory-based Graphs.  

Classes:

GraphMemBase: GraphMemBase - a common base class for GraphMem and SmallGraphMem. Any GraphMemBase maintains a reference count, set to one when it is created, and incremented by the method openAgain() . When the graph is closed, the count is decrememented, and when it reaches 0, the tables are trashed and GraphBase.close() called. Thus in normal use one close is enough, but GraphMakers using GraphMems can arrange to re-use the same named graph.
StoreTripleIterator: An iterator wrapper for NodeToTriplesMap iterators which ensures that a .remove on the base iterator is copied to the other two maps of this GraphMem. The current triple (the most recent result of .next) is tracked by the parent TrackingTripleIterator so that it can be removed from the other two maps, which are passed in when this StoreTripleIterator is created.
GraphTripleStore: GraphTripleStore - the underlying triple-indexed triple store for GraphMem et al, ripped out from the heart of GraphMem as part of simplifying the reification code. A GraphTripleStore is a searchable repository for triples.
SmallGraphMem: A SmallGraphMem is a memory-based Graph suitable only for Small models (a few triples, perhaps a few tens of triples), because it does no indexing, but it stores onlya single flat set of triples and so is memory-cheap.
GraphMemQueryHandler: A GraphMemQueryHandler is an extension of the SimpleQueryHandler which implements some of the query code more efficiently by exploiting the GraphMem's indexes.
TrackingTripleIterator: A WrappedIterator which remembers the last object next'ed in a protected instance variable, so that subclasses have access to it during .remove.
GraphMemBulkUpdateHandler: A GraphMemBulkUpdateHandler specialises the SimpleBulkUpdateHandler by doing removeAll efficiently, by clearing the indexes directly.
NodeToTriplesMap: NodeToTriplesMap: a map from nodes to sets of triples.
GraphMem: A memory-backed graph with S/P/O indexes.
ModelMem: OBSOLETE. Use the code in ModelFactory.
TestGraphTripleStore: TestGraphTripleStore
TestMemPackage: TestMemPackage
MixedGraphMem
TestCaseBasic
TestCaseBugs
TestGraphMem
TestMixedGraphMem
TestSmallGraphMem
TestStoreSpeed
TestSuiteRegression

Home | Contact Us | Privacy Policy | Terms of Service