public abstract class Dialect extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
conn |
protected DataSource |
ds |
| Constructor and Description |
|---|
Dialect(DataSource ds,
Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
escapeIdentifierAsNeeded(String canonicalName) |
abstract Boolean |
getDefaultAutoCommit() |
protected abstract Serializer<?> |
getDefaultSerializer(Identifier table,
String name,
String type,
boolean unsigned,
BigInteger maxLength,
Integer precision,
Integer scale) |
abstract String |
getName() |
protected Serializer<?> |
getSerializer(String renderedType,
Identifier table,
String name,
String type,
boolean unsigned,
BigInteger maxLength,
Integer precision,
Integer scale) |
abstract Table |
getTableMetaData(Identifier table) |
abstract List<Identifier> |
listTablesNames() |
abstract String |
renderHeadLimit(Long limit) |
abstract String |
renderNullsOrdering(boolean nullsFirst) |
abstract String |
renderSQLTableIdentifier(Identifier table) |
abstract String |
renderTailLimit(Long limit) |
protected DataSource ds
protected Connection conn
public Dialect(DataSource ds, Connection conn)
protected Serializer<?> getSerializer(String renderedType, Identifier table, String name, String type, boolean unsigned, BigInteger maxLength, Integer precision, Integer scale) throws UnsupportedDatabaseTypeException
UnsupportedDatabaseTypeExceptionpublic abstract String getName()
public abstract List<Identifier> listTablesNames() throws SQLException, InvalidSchemaException
SQLExceptionInvalidSchemaExceptionpublic abstract Table getTableMetaData(Identifier table) throws SQLException, UnsupportedDatabaseTypeException
protected abstract Serializer<?> getDefaultSerializer(Identifier table, String name, String type, boolean unsigned, BigInteger maxLength, Integer precision, Integer scale) throws UnsupportedDatabaseTypeException
UnsupportedDatabaseTypeExceptionpublic abstract String renderSQLTableIdentifier(Identifier table)
public abstract Boolean getDefaultAutoCommit()
public abstract String renderNullsOrdering(boolean nullsFirst) throws UnsupportedSQLFeatureException
UnsupportedSQLFeatureExceptionCopyright © 2024. All rights reserved.