|
||||||||||
| 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.H2Dialect
public class H2Dialect
A H2 dialect.
| Constructor Summary | |
|---|---|
H2Dialect()
|
|
| Method Summary | |
|---|---|
String |
getBitType()
The database BIT type. |
String |
getBlobType(long length)
The database blob type for the given length. |
String |
getCurrentTimestampFunction()
The database current timestamp function that is used with several sql updates. |
String |
getForUpdateString()
Does this dialect support the FOR UPDATE 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 |
supportsForUpdate()
Does the database supports select ... for update sql clause? |
boolean |
supportsIfExistsAfterTableName()
Does the database support "if exists" after the table name when constructing a sql drop for the table. |
boolean |
supportTransactionalScopedBlobs()
Does the database (or the jdbc driver) supports transactional blob. |
| Methods inherited from class org.apache.lucene.store.jdbc.dialect.Dialect |
|---|
closeBlobSelectQuote, closeQuote, getCascadeConstraintsString, getCurrentTimestampSelectString, getForUpdateNowaitString, getTableTypeString, isCurrentTimestampSelectStringCallable, openBlobSelectQuote, openQuote, processSettings, sqlTableExists, supportsCurrentTimestampSelection, supportsIfExistsBeforeTableName, supportsTableExists, useExistsBeforeInsertLock, useInputStreamToInsertBlob |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public H2Dialect()
| Method Detail |
|---|
public boolean supportsForUpdate()
Dialect
supportsForUpdate in class Dialectpublic String getForUpdateString()
DialectFOR UPDATE syntax? Defaults to for update.
getForUpdateString in class Dialectpublic boolean supportTransactionalScopedBlobs()
DialectFetchPerTransactionJdbcIndexInput.
Defaults to false.
supportTransactionalScopedBlobs in class Dialectpublic boolean supportsIfExistsAfterTableName()
Dialectfalse.
supportsIfExistsAfterTableName 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 | |||||||||