|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sailimpl.rdbms.RDBMS
org.openrdf.sesame.sailimpl.rdbms.Oracle
Defines Oracle specific SQL syntax. tested with oracle 9.2.0.1.0
| Field Summary |
| Fields inherited from class org.openrdf.sesame.sailimpl.rdbms.RDBMS |
BOOLEAN, BOOLEAN_TYPE, FALSE, ID_INT, ID_INT_TYPE, INFOFIELD, INFOFIELD_TYPE, LABEL, LABEL_HASH, LABEL_HASH_TYPE, LABEL_TYPE, LANGUAGE, LANGUAGE_TYPE, LOCALNAME, LOCALNAME_TYPE, MAX_PREFIX_LENGTH, NAME, NAME_TYPE, PREFIX, PREFIX_TYPE, TRUE |
| Constructor Summary | |
Oracle()
Initializes Oracle specific SQL syntax. |
|
| Method Summary | |
boolean |
emptyStringIsNull()
within Oracle '' gets converted to null |
String |
escapeString(String s)
Replaces any occurences of ' with ''. |
String |
getIndexName(String table,
String[] columns)
Creates an index name based on the name of the columns and table that it's supposed to index. |
void |
optimizeTable(String tableName)
Optimizes a table. |
| Methods inherited from class org.openrdf.sesame.sailimpl.rdbms.RDBMS |
clearTable, convertBoolean, copyDistinctRows, copyRows, createIndex, createIndex, createInstance, createUniqueIndex, disconnect, dropIndex, dropIndex, dropTable, executeUpdate, getConnection, getIndexName, getPatternMatchExpr, getPatternMatchOperator, getSearchStringEscape, optimizeTable, queryHasResults, renameTable, renameTableColumn, setConnectionInfo, supportsLikeEscapeClause, supportsPatternMatches, tableExists |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Oracle()
| Method Detail |
public boolean emptyStringIsNull()
emptyStringIsNull in class RDBMS
public String getIndexName(String table,
String[] columns)
getIndexName in class RDBMS
public void optimizeTable(String tableName)
throws SQLException
RDBMS
optimizeTable in class RDBMSSQLExceptionpublic String escapeString(String s)
escapeString in class RDBMS
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||