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.3 $ on $Date: 2001/12/05 17:56:49 $
Author:
Dave Reynolds

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, close, createConstraints, deleteStatement, detachStore, formatDB, getConnection, getLiteral, getLiteralID, getModelID, getNamespace, getProperty, getProperty, getResource, getResource, getResourceID, getSQLCache, hintPropertyTable, isDBFormatOK, isStatementPresent, listModels, listNamespaces, listStatements, listStatements, listSubjects, loadDatabaseDriver, loadProperties, makeResource, saveProperties, setConnection, 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)
Convert the raw SQL object used to store a database identifier into a java object which meets the IDBID interface.
Overrides:
wrapDBID in class DriverGenericGeneric


Copyright © 2001 Hewlett-Packard. All Rights Reserved.