|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.store.jdbc.dialect.Dialect
org.apache.lucene.store.jdbc.dialect.OracleDialect
public class OracleDialect
An Oracle dialect. Works for Oracle 9 and above.
| Constructor Summary | |
|---|---|
OracleDialect()
|
|
| Method Summary | |
|---|---|
String |
getBitType()
The database BIT type. |
String |
getBlobType(long length)
The database blob type for the given length. |
String |
getCascadeConstraintsString()
Completely optional cascading drop clause |
String |
getCurrentTimestampFunction()
The database current timestamp function that is used with several sql updates. |
String |
getCurrentTimestampSelectString()
The database current time stamp select query. |
String |
getForUpdateNowaitString()
Does this dialect support the Oracle-style FOR UPDATE NOWAIT syntax? |
String |
getNumberType()
The database number type. |
String |
getTimestampType()
The database TIMESTAMP type. |
String |
getVarcharType(int length)
The database varchar type for the given length. |
boolean |
isCurrentTimestampSelectStringCallable()
If the current timestamp select queyr is a callable query or not. |
String |
sqlTableExists(String catalog,
String schemaName)
If the dialect support a special query to check if a table exists, the actual sql that is used to perform it. |
boolean |
supportsCurrentTimestampSelection()
Does the database supports a query for the current timestamp. |
boolean |
supportsForUpdate()
Oracle supports select ... for update. |
boolean |
supportsTableExists()
Oracle supports if table exists queries. |
boolean |
supportTransactionalScopedBlobs()
Oracle supports transactional scopes blobs. |
| Methods inherited from class org.apache.lucene.store.jdbc.dialect.Dialect |
|---|
closeBlobSelectQuote, closeQuote, getForUpdateString, getTableTypeString, openBlobSelectQuote, openQuote, processSettings, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, useExistsBeforeInsertLock, useInputStreamToInsertBlob |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OracleDialect()
| Method Detail |
|---|
public boolean supportTransactionalScopedBlobs()
supportTransactionalScopedBlobs in class Dialectpublic boolean supportsForUpdate()
supportsForUpdate in class Dialectpublic boolean supportsTableExists()
supportsTableExists in class Dialect
public String sqlTableExists(String catalog,
String schemaName)
DialectDialect.supportsTableExists().
sqlTableExists in class Dialectpublic String getCascadeConstraintsString()
Dialect
getCascadeConstraintsString in class Dialectpublic String getForUpdateNowaitString()
DialectFOR UPDATE NOWAIT syntax?
Defaults to Dialect.getForUpdateString().
getForUpdateNowaitString in class Dialectpublic boolean supportsCurrentTimestampSelection()
Dialectfalse.
supportsCurrentTimestampSelection in class Dialectpublic String getCurrentTimestampSelectString()
Dialect
getCurrentTimestampSelectString in class Dialectpublic boolean isCurrentTimestampSelectStringCallable()
Dialect
isCurrentTimestampSelectStringCallable in class Dialectpublic String getVarcharType(int length)
Dialect
getVarcharType in class Dialectpublic String getBlobType(long length)
Dialect
getBlobType in class Dialectpublic String getNumberType()
Dialect
getNumberType in class Dialectpublic String getTimestampType()
Dialect
getTimestampType in class Dialectpublic String getCurrentTimestampFunction()
Dialect
getCurrentTimestampFunction in class Dialectpublic String getBitType()
Dialect
getBitType in class Dialect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||