|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.hp.hpl.mesa.rdf.jena.rdb.DriverGenericGeneric
|
+--com.hp.hpl.mesa.rdf.jena.rdb.DriverGenericMMGeneric
|
+--com.hp.hpl.mesa.rdf.jena.rdb.DriverOracleMMGeneric
Customize the MMGeneric driver for use with Oracle. The key issues with Oracle are: (1) Possible return of bignums for IDs - now handled in generic driver (2) Empty strings are stored as nulls and so do not match other empty strings, this breaks all the "languge" field processing in literals in several ways. It also causes problems with resource localnames that are empty strings (because they re-appear from the database as nulls) and empty literals (because the they go in as nulls which then violate the non-null index condition).
| Field Summary |
| Fields inherited from class com.hp.hpl.mesa.rdf.jena.rdb.DriverGenericGeneric |
ANON_NAMESPACE |
| Constructor Summary | |
DriverOracleMMGeneric()
Create a bare instance of the driver. |
|
| Method Summary | |
Literal |
getLiteral(IDBID id)
Fetch a literal just knowing its literal rdb-id. |
IDBID |
getLiteralID(Literal l)
Return the database ID for the literal, if it exists |
IDBID |
getResourceID(Resource resource)
Lookup the unique ID for a resource. |
java.lang.Object |
wrapFlag(boolean flag)
Wrap up a boolean flag as a object which the jdbc driver can assert into a boolean/short column |
| Methods inherited from class com.hp.hpl.mesa.rdf.jena.rdb.DriverGenericMMGeneric |
allocateModelID, deleteModel, getModelID, listModels, supportsMultipleModels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DriverOracleMMGeneric()
| Method Detail |
public IDBID getLiteralID(Literal l)
throws RDFRDBException
getLiteralID in interface IRDBDrivergetLiteralID in class DriverGenericGenericRDFRDBExceptionpublic java.lang.Object wrapFlag(boolean flag)
wrapFlag in class DriverGenericGeneric
public Literal getLiteral(IDBID id)
throws RDFException
getLiteral in interface IRDBDrivergetLiteral in class DriverGenericGenericRDFException
public IDBID getResourceID(Resource resource)
throws RDFException
getResourceID in interface IRDBDrivergetResourceID in class DriverGenericGenericRDFException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||