|
||||||||||
| 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.MySQLDialect
public class MySQLDialect
A MySQL dialect.
| Constructor Summary | |
|---|---|
MySQLDialect()
|
|
| Method Summary | |
|---|---|
String |
closeBlobSelectQuote()
MySQL requires quoting the blob column with connector J 3.1 when using emulateLocators=true. |
char |
closeQuote()
The closing quote for a quoted identifier . |
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 |
openBlobSelectQuote()
MySQL requires quoting the blob column with connector J 3.1 when using emulateLocators=true. |
char |
openQuote()
The opening quote for a quoted identifier. |
boolean |
supportsCurrentTimestampSelection()
MySQL supports current timestamp selection. |
boolean |
supportsForUpdate()
MySQL supports select ... for update. |
boolean |
supportsIfExistsBeforeTableName()
MySQL supports if exists before the table name. |
| Methods inherited from class org.apache.lucene.store.jdbc.dialect.Dialect |
|---|
getCascadeConstraintsString, getForUpdateNowaitString, getForUpdateString, getTableTypeString, processSettings, sqlTableExists, supportsIfExistsAfterTableName, 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 MySQLDialect()
| Method Detail |
|---|
public String openBlobSelectQuote()
openBlobSelectQuote in class Dialectpublic String closeBlobSelectQuote()
closeBlobSelectQuote in class Dialectpublic char closeQuote()
Dialect
closeQuote in class Dialectpublic char openQuote()
Dialect
openQuote in class Dialectpublic boolean supportsForUpdate()
supportsForUpdate in class Dialectpublic boolean supportsIfExistsBeforeTableName()
supportsIfExistsBeforeTableName in class Dialectpublic boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection in class Dialectpublic boolean isCurrentTimestampSelectStringCallable()
Dialect
isCurrentTimestampSelectStringCallable 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 | |||||||||