com.hp.hpl.mesa.rdf.jena.rdb
Interface IDBID

All Known Implementing Classes:
DBIDInt, DBIDHash

public interface IDBID

Interface for database identifiers. Most RDF entities (resources, literals, statements) have an associated database index. These are cached using RDB-specific variants of the jena "impl" classes. This can avoid some redundant database lookup.

In simple implementations the database identifier is simply an integer given a database row index allocated by some generator. In other implementations we use a "unique" hash of the resource or literal data itself. This interface encapsulates the different ID representations.

Version:
$Revision: 1.2 $ on $Date: 2001/11/26 18:20:09 $
Author:
Dave Reynolds

Method Summary
 java.lang.Object getID()
          Return identifier as a generic object which can be supplied to the sql index/store statement
 

Method Detail

getID

public java.lang.Object getID()
Return identifier as a generic object which can be supplied to the sql index/store statement


Copyright © 2001 Hewlett-Packard. All Rights Reserved.