|
||||||||||
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.DB2Dialect
public class DB2Dialect
A DB2 dialect.
Constructor Summary | |
---|---|
DB2Dialect()
|
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. |
boolean |
supportsCurrentTimestampSelection()
DB2 supports current timestamp selection. |
boolean |
supportsForUpdate()
DB2 supports select ... for update. |
Methods inherited from class org.apache.lucene.store.jdbc.dialect.Dialect |
---|
closeBlobSelectQuote, closeQuote, getCascadeConstraintsString, getForUpdateNowaitString, getForUpdateString, getTableTypeString, openBlobSelectQuote, openQuote, processSettings, sqlTableExists, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, supportsTableExists, supportTransactionalScopedBlobs, useExistsBeforeInsertLock, useInputStreamToInsertBlob |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DB2Dialect()
Method Detail |
---|
public boolean supportsForUpdate()
supportsForUpdate
in class Dialect
public boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection
in class Dialect
public String getCurrentTimestampSelectString()
Dialect
getCurrentTimestampSelectString
in class Dialect
public boolean isCurrentTimestampSelectStringCallable()
Dialect
isCurrentTimestampSelectStringCallable
in class Dialect
public String getVarcharType(int length)
Dialect
getVarcharType
in class Dialect
public String getBlobType(long length)
Dialect
getBlobType
in class Dialect
public String getNumberType()
Dialect
getNumberType
in class Dialect
public String getTimestampType()
Dialect
getTimestampType
in class Dialect
public String getCurrentTimestampFunction()
Dialect
getCurrentTimestampFunction
in class Dialect
public String getBitType()
Dialect
getBitType
in class Dialect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |