com.hp.hpl.mesa.rdf.jena.rdb
Class DriverGenericHash

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.rdb.DriverGenericGeneric
        |
        +--com.hp.hpl.mesa.rdf.jena.rdb.DriverGenericHash
All Implemented Interfaces:
IRDBDriver
Direct Known Subclasses:
DriverGenericMMHash, DriverInterbaseHash

public class DriverGenericHash
extends DriverGenericGeneric

Adaption of the base generic layout driver to use unique hashes of as the index terms instead of relying on database sequences. This is useful for databases without useful sequences/generators it may also yield marginally higher performance.

Version:
$Revision: 1.4 $ on $Date: 2002/07/01 15:20:21 $
Author:
Dave Reynolds

Field Summary
 
Fields inherited from class com.hp.hpl.mesa.rdf.jena.rdb.DriverGenericGeneric
ANON_NAMESPACE
 
Constructor Summary
DriverGenericHash()
          Create a bare instance of the driver.
 
Method Summary
 IDBID wrapDBID(java.lang.Object id)
          Convert the raw SQL object used to store a database identifier into a java object which meets the IDBID interface.
 
Methods inherited from class com.hp.hpl.mesa.rdf.jena.rdb.DriverGenericGeneric
addStatement, allocateModelID, attachStore, cleanDB, clear, close, createConstraints, deleteModel, deleteStatement, deleteStatement, detachStore, formatDB, getBareStatementResource, getConnection, getLiteral, getLiteralFromCache, getLiteralID, getModelID, getNamespace, getProperty, getProperty, getPropertyFromCache, getResource, getResource, getResourceFromCache, getResourceID, getSQLCache, hintPropertyTable, isDBFormatOK, isStatementPresent, listModels, listNamespaces, listReifiedStatements, listStatements, listStatements, listSubjects, loadDatabaseDriver, loadProperties, makeProperty, makeResource, makeResource, preloadCaches, saveProperties, setCacheLimits, setConnection, splitNamespace, supportsJenaReification, supportsMultipleModels, toString, wrapFlag
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DriverGenericHash

public DriverGenericHash()
Create a bare instance of the driver. It is not functional until a database connection has been supplied via setConnection.

Method Detail

wrapDBID

public IDBID wrapDBID(java.lang.Object id)
               throws RDFRDBException
Convert the raw SQL object used to store a database identifier into a java object which meets the IDBID interface.

Specified by:
wrapDBID in interface IRDBDriver
Overrides:
wrapDBID in class DriverGenericGeneric
RDFRDBException


Copyright © 2001 Hewlett-Packard. All Rights Reserved.