Package com.valqueries.automapper
Class MariaSqlDialect
java.lang.Object
com.valqueries.automapper.MariaSqlDialect
- All Implemented Interfaces:
- SqlDialect
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanallowsConversion(Clazz<?> sqlType, String type) escapeColumnOrTable(String name) generateDropIndexStatement(TableToken tableName, IndexToken index, boolean isPrimary) generateIndexOnCreateStatement(TableToken name, KeySet keyset, boolean isUnique) generateIndexStatement(TableToken tablename, KeySet key) generatePrimaryKeyStatement(TableToken name, KeySet key) generateUpdateStatement(TableToken table, List<Element> elements, List<Property.PropertyValue<?>> newPropertyValues, List<Property.PropertyValue<?>> incrementPropertyValues) <O> StringgetCustomUpsert(CompoundColumnizer<O> columnizer, Class<O> modelType, List<Property.PropertyValue<?>> newValues, List<Property.PropertyValue<?>> incrementValues, List<Property<?>> setObjValues, List<Property<?>> incrementByObjValues) getDescribeDbResult(OrmResultSet ormResultSet) getLimitDefinition(int offset, int limit) <O> StringgetUpsert(CompoundColumnizer<O> columnizer, Class<O> oClass) booleanCheck whether an exception was caused by a duplicate value for primary or unique key.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.valqueries.automapper.SqlDialect_column, buildSelectSql, column, defaultOrderStatement, describe, describeIndex, dropTableStatement, generateAlterColumnPartStatement, generateDeleteStatement, generateDeleteStatement, generateDistinctSelectStatement, generateUpdateStatement, getAddColumnStatement, getInsert, getInsertAutoIncrement, getSqlType, getTableName, getUniqueKeyCheck, getUpsertAutoIncrement, groupConcat, harmonizeLikeValue, isOrderRequiredForOffset, operator, operator, operator, prepareColumnOrTable, table
- 
Constructor Details- 
MariaSqlDialectpublic MariaSqlDialect()
 
- 
- 
Method Details- 
escapeColumnOrTable- Specified by:
- escapeColumnOrTablein interface- SqlDialect
 
- 
getUpsert- Specified by:
- getUpsertin interface- SqlDialect
 
- 
getLimitDefinition- Specified by:
- getLimitDefinitionin interface- SqlDialect
 
- 
generateUpdateStatementpublic String generateUpdateStatement(TableToken table, List<Element> elements, List<Property.PropertyValue<?>> newPropertyValues, List<Property.PropertyValue<?>> incrementPropertyValues) - Specified by:
- generateUpdateStatementin interface- SqlDialect
 
- 
generateIndexOnCreateStatement
- 
generatePrimaryKeyStatement- Specified by:
- generatePrimaryKeyStatementin interface- SqlDialect
 
- 
generateDropIndexStatement- Specified by:
- generateDropIndexStatementin interface- SqlDialect
 
- 
generateIndexStatement- Specified by:
- generateIndexStatementin interface- SqlDialect
 
- 
getDescribeDbResult- Specified by:
- getDescribeDbResultin interface- SqlDialect
 
- 
getDescribeIndexResult- Specified by:
- getDescribeIndexResultin interface- SqlDialect
 
- 
allowsConversion- Specified by:
- allowsConversionin interface- SqlDialect
 
- 
isDuplicateKeyEntryDescription copied from interface:SqlDialectCheck whether an exception was caused by a duplicate value for primary or unique key.- Specified by:
- isDuplicateKeyEntryin interface- SqlDialect
- Parameters:
- e- the exception to be tested
- Returns:
- whether the exception was caused by a unique constraint violation
 
- 
getCustomUpsertpublic <O> String getCustomUpsert(CompoundColumnizer<O> columnizer, Class<O> modelType, List<Property.PropertyValue<?>> newValues, List<Property.PropertyValue<?>> incrementValues, List<Property<?>> setObjValues, List<Property<?>> incrementByObjValues) - Specified by:
- getCustomUpsertin interface- SqlDialect
 
 
-