Package org.frankframework.dbms
Class MySqlDbmsSupport
java.lang.Object
org.frankframework.dbms.GenericDbmsSupport
org.frankframework.dbms.MySqlDbmsSupport
- All Implemented Interfaces:
IDbmsSupport
- Direct Known Subclasses:
MariaDbDbmsSupport
Support for MySql/MariaDB.
-
Field Summary
Fields inherited from class org.frankframework.dbms.GenericDbmsSupport
KEYWORD_SELECT, log, sqlTranslators -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintalterAutoIncrement(Connection connection, String tableName, int startWith) getDateAndOffset(String dateValue, int daysOffset) getDatetimeLiteral(Date date) getDbms()getSchema(Connection conn) getTimestampAsDate(String columnName) booleanhasIndexOnColumns(Connection conn, String schemaOwner, String tableName, List<String> columns) booleanprepareQueryTextForWorkQueuePeeking(int batchSize, String selectQuery, int wait) prepareQueryTextForWorkQueueReading(int batchSize, String selectQuery, int wait) Methods inherited from class org.frankframework.dbms.GenericDbmsSupport
applyBlobParameter, applyClobParameter, autoIncrementInsertValue, autoIncrementKeyMustBeInserted, autoIncrementUsesSequenceObject, convertQuery, createTranslator, doHasIndexOnColumns, doIsColumnPresent, doIsTablePresent, getBlobHandle, getBlobHandle, getBlobInputStream, getBlobInputStream, getBlobOutputStream, getBlobOutputStream, getBlobOutputStream, getBooleanValue, getClobHandle, getClobHandle, getClobReader, getClobReader, getClobWriter, getClobWriter, getFormattedDate, getFromForTablelessSelect, getLength, getSqlTranslator, getSysDate, getTableColumns, getTableColumns, getTableColumns, getTextFieldType, getTimestampFieldType, hasIndexOnColumn, isBlobType, isClobType, isColumnPresent, isColumnPresent, isConstraintViolation, isParameterTypeMatchRequired, isQueryConversionRequired, isSequencePresent, isTablePresent, isTablePresent, prepareQueryTextForNonLockingRead, prepareQueryTextForWorkQueuePeeking, prepareQueryTextForWorkQueueReading, provideFirstRowsHintAfterFirstKeyword, provideIndexHintAfterFirstKeyword, provideTrailingFirstRowsHint, splitQuery, updateBlob, updateBlob, updateClob, updateClob, warnConvertQueryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.dbms.IDbmsSupport
canFetchStatementParameterMetaData, getCursorSqlType, getDbmsName, isRowVersionTimestamp, isStoredProcedureResultSetSupported
-
Constructor Details
-
MySqlDbmsSupport
public MySqlDbmsSupport()
-
-
Method Details
-
getDbms
- Specified by:
getDbmsin interfaceIDbmsSupport- Overrides:
getDbmsin classGenericDbmsSupport
-
hasSkipLockedFunctionality
public boolean hasSkipLockedFunctionality()- Specified by:
hasSkipLockedFunctionalityin interfaceIDbmsSupport- Overrides:
hasSkipLockedFunctionalityin classGenericDbmsSupport
-
getSchema
- Specified by:
getSchemain interfaceIDbmsSupport- Overrides:
getSchemain classGenericDbmsSupport- Throws:
DbmsException
-
getDatetimeLiteral
- Specified by:
getDatetimeLiteralin interfaceIDbmsSupport- Overrides:
getDatetimeLiteralin classGenericDbmsSupport
-
getTimestampAsDate
- Specified by:
getTimestampAsDatein interfaceIDbmsSupport- Overrides:
getTimestampAsDatein classGenericDbmsSupport
-
getDateAndOffset
- Specified by:
getDateAndOffsetin interfaceIDbmsSupport- Overrides:
getDateAndOffsetin classGenericDbmsSupport
-
getBlobFieldType
- Specified by:
getBlobFieldTypein interfaceIDbmsSupport- Overrides:
getBlobFieldTypein classGenericDbmsSupport
-
prepareQueryTextForWorkQueueReading
public String prepareQueryTextForWorkQueueReading(int batchSize, String selectQuery, int wait) throws DbmsException - Specified by:
prepareQueryTextForWorkQueueReadingin interfaceIDbmsSupport- Overrides:
prepareQueryTextForWorkQueueReadingin classGenericDbmsSupport- Throws:
DbmsException
-
prepareQueryTextForWorkQueuePeeking
public String prepareQueryTextForWorkQueuePeeking(int batchSize, String selectQuery, int wait) throws DbmsException - Specified by:
prepareQueryTextForWorkQueuePeekingin interfaceIDbmsSupport- Overrides:
prepareQueryTextForWorkQueuePeekingin classGenericDbmsSupport- Throws:
DbmsException
-
hasIndexOnColumns
public boolean hasIndexOnColumns(Connection conn, String schemaOwner, String tableName, List<String> columns) - Specified by:
hasIndexOnColumnsin interfaceIDbmsSupport- Overrides:
hasIndexOnColumnsin classGenericDbmsSupport
-
alterAutoIncrement
public int alterAutoIncrement(Connection connection, String tableName, int startWith) throws DbmsException - Throws:
DbmsException
-
getAutoIncrementKeyFieldType
- Specified by:
getAutoIncrementKeyFieldTypein interfaceIDbmsSupport- Overrides:
getAutoIncrementKeyFieldTypein classGenericDbmsSupport
-