|
||||||||||
| 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.PostgreSQLDialect
public class PostgreSQLDialect
A PostgreSQL dialect.
| Constructor Summary | |
|---|---|
PostgreSQLDialect()
|
|
| 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 |
getCurrentTimestampSelectString()
The database current time stamp select query. |
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()
PostreSQL supports select ... for update. |
boolean |
supportsTableExists()
PostrgreSQL supports a table exists query. |
boolean |
supportTransactionalScopedBlobs()
PostgreSQL supports transactional scoped blobs. |
boolean |
useInputStreamToInsertBlob()
Does the database require using an InputStream to insert a blob,
or the setBlob method. |
| Methods inherited from class org.apache.lucene.store.jdbc.dialect.Dialect |
|---|
closeBlobSelectQuote, closeQuote, getCascadeConstraintsString, getForUpdateNowaitString, getForUpdateString, getTableTypeString, openBlobSelectQuote, openQuote, processSettings, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, useExistsBeforeInsertLock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostgreSQLDialect()
| Method Detail |
|---|
public boolean supportsForUpdate()
supportsForUpdate in class Dialectpublic boolean supportTransactionalScopedBlobs()
supportTransactionalScopedBlobs in class Dialectpublic boolean supportsTableExists()
supportsTableExists in class Dialect
public String sqlTableExists(String catalog,
String schemaName)
DialectDialect.supportsTableExists().
sqlTableExists in class Dialectpublic boolean supportsCurrentTimestampSelection()
Dialectfalse.
supportsCurrentTimestampSelection in class Dialectpublic boolean isCurrentTimestampSelectStringCallable()
Dialect
isCurrentTimestampSelectStringCallable in class Dialectpublic boolean useInputStreamToInsertBlob()
DialectInputStream to insert a blob,
or the setBlob method. Defaults to true.
useInputStreamToInsertBlob in class Dialectpublic String getCurrentTimestampSelectString()
Dialect
getCurrentTimestampSelectString 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 | |||||||||