public class DialectNormalizer extends Dialect
| Constructor and Description |
|---|
DialectNormalizer(Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
String |
escapeIdentifierAsNeeded(String identifier) |
Boolean |
getDefaultAutoCommit() |
protected Serializer<?> |
getDefaultSerializer(Identifier table,
String name,
String type,
boolean unsigned,
BigInteger maxLength,
Integer precision,
Integer scale) |
String |
getName() |
Table |
getTableMetaData(Identifier table) |
List<Identifier> |
listTablesNames() |
String |
renderHeadLimit(Long limit) |
String |
renderNullsOrdering(boolean nullsFirst) |
String |
renderSQLTableIdentifier(Identifier table) |
String |
renderTailLimit(Long limit) |
getSerializerpublic DialectNormalizer(Dialect dialect)
public List<Identifier> listTablesNames() throws SQLException, InvalidSchemaException
listTablesNames in class DialectSQLExceptionInvalidSchemaExceptionpublic Table getTableMetaData(Identifier table) throws SQLException, UnsupportedDatabaseTypeException
getTableMetaData in class DialectSQLExceptionUnsupportedDatabaseTypeExceptionpublic String escapeIdentifierAsNeeded(String identifier)
escapeIdentifierAsNeeded in class Dialectpublic String renderSQLTableIdentifier(Identifier table)
renderSQLTableIdentifier in class Dialectpublic String renderHeadLimit(Long limit)
renderHeadLimit in class Dialectpublic String renderTailLimit(Long limit)
renderTailLimit in class Dialectpublic Boolean getDefaultAutoCommit()
getDefaultAutoCommit in class Dialectprotected Serializer<?> getDefaultSerializer(Identifier table, String name, String type, boolean unsigned, BigInteger maxLength, Integer precision, Integer scale) throws UnsupportedDatabaseTypeException
getDefaultSerializer in class DialectUnsupportedDatabaseTypeExceptionpublic String renderNullsOrdering(boolean nullsFirst) throws UnsupportedSQLFeatureException
renderNullsOrdering in class DialectUnsupportedSQLFeatureExceptionCopyright © 2024. All rights reserved.